Compatibility fixes
This commit is contained in:
parent
b3aa8fe88c
commit
0d567145a6
|
@ -1,3 +1,7 @@
|
|||
1.30/31 (brockhaus)
|
||||
----------------------------------
|
||||
* Compatibility fixes.
|
||||
|
||||
1.29 (brockhaus)
|
||||
----------------------------------
|
||||
* If post was updated the location was cleared.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
class GeoTagDb {
|
||||
|
||||
function delete($entryId, $supported_properties) {
|
||||
static function delete($entryId, $supported_properties) {
|
||||
global $serendipity;
|
||||
|
||||
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;
|
||||
// Get existing data
|
||||
$property = serendipity_fetchEntryProperties($entryId);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
|
||||
// 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');
|
||||
|
|
Loading…
Reference in a new issue