Compatibility fixes
This commit is contained in:
parent
b3aa8fe88c
commit
0d567145a6
|
@ -1,3 +1,7 @@
|
||||||
|
1.30/31 (brockhaus)
|
||||||
|
----------------------------------
|
||||||
|
* Compatibility fixes.
|
||||||
|
|
||||||
1.29 (brockhaus)
|
1.29 (brockhaus)
|
||||||
----------------------------------
|
----------------------------------
|
||||||
* If post was updated the location was cleared.
|
* If post was updated the location was cleared.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
class GeoTagDb {
|
class GeoTagDb {
|
||||||
|
|
||||||
function delete($entryId, $supported_properties) {
|
static function delete($entryId, $supported_properties) {
|
||||||
global $serendipity;
|
global $serendipity;
|
||||||
|
|
||||||
if (empty($entryId)) return;
|
if (empty($entryId)) return;
|
||||||
|
@ -11,7 +11,7 @@ class GeoTagDb {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function addEntryProperties($entryId, $supported_properties, &$properties, $deleteMissing = true) {
|
static function addEntryProperties($entryId, $supported_properties, &$properties, $deleteMissing = true) {
|
||||||
global $serendipity;
|
global $serendipity;
|
||||||
// Get existing data
|
// Get existing data
|
||||||
$property = serendipity_fetchEntryProperties($entryId);
|
$property = serendipity_fetchEntryProperties($entryId);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Actual version of both plugins
|
// Actual version of both plugins
|
||||||
@define('PLUGIN_EVENT_GEOTAG_VERSION', '1.30');
|
@define('PLUGIN_EVENT_GEOTAG_VERSION', '1.31');
|
||||||
@define('PLUGIN_EVENT_GEOTAG_AUTHOR', 'Zoran Kovacevic, Grischa Brockhaus, Matthias Gutjahr');
|
@define('PLUGIN_EVENT_GEOTAG_AUTHOR', 'Zoran Kovacevic, Grischa Brockhaus, Matthias Gutjahr');
|
||||||
|
|
Loading…
Reference in a new issue