Compatibility fixes

This commit is contained in:
Grischa Brockhaus 2012-06-14 13:10:05 +02:00
parent b3aa8fe88c
commit 0d567145a6
3 changed files with 7 additions and 3 deletions

View file

@ -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.

View file

@ -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);

View file

@ -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');