aboutsummaryrefslogtreecommitdiff
path: root/actions/photos/admin/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/photos/admin/upgrade.php')
-rw-r--r--actions/photos/admin/upgrade.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/photos/admin/upgrade.php b/actions/photos/admin/upgrade.php
index 8e03c6bc5..db09ed035 100644
--- a/actions/photos/admin/upgrade.php
+++ b/actions/photos/admin/upgrade.php
@@ -9,6 +9,7 @@ require_once "{$plugins_path}lightpics/version.php";
$local_version = elgg_get_plugin_setting('version', 'tidypics');
+$local_version = 2009082901;
if ($version <= $local_version) {
register_error('No upgrade required');
forward(REFERER);
@@ -18,6 +19,7 @@ set_time_limit(0);
$base_dir = "{$plugins_path}lightpics/upgrades";
+
// taken from engine/lib/version.php
if ($handle = opendir($base_dir)) {
$upgrades = array();