mirror of
https://github.com/Mibew/open-street-map-history-plugin.git
synced 2025-04-22 15:07:23 +03:00
Compare commits
No commits in common. "master" and "v0.0.1" have entirely different histories.
@ -44,7 +44,7 @@ class GeoIPDataController extends AbstractController
|
|||||||
$osm_plugin = PluginManager::getInstance()->getPlugin('Mibew:OpenStreetMap');
|
$osm_plugin = PluginManager::getInstance()->getPlugin('Mibew:OpenStreetMap');
|
||||||
$osm_plugin->usersFunctionCallHandler($geo_data);
|
$osm_plugin->usersFunctionCallHandler($geo_data);
|
||||||
|
|
||||||
$results = array_key_exists('errorCode', $geo_data) && $geo_data['errorCode'] ? array() : $geo_data['results'];
|
$results = $geo_data['errorCode'] ? array() : $geo_data['results'];
|
||||||
return new JsonResponse($results);
|
return new JsonResponse($results);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
|||||||
*/
|
*/
|
||||||
public static function getVersion()
|
public static function getVersion()
|
||||||
{
|
{
|
||||||
return '0.0.2';
|
return '0.0.1';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.0.2",
|
"version": "0.0.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": "~1.8.8",
|
"bower": "~1.8.8",
|
||||||
"gulp": "~4.0.0",
|
"gulp": "~4.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user