diff options
author | Pablo Martin <caedes@sindominio.net> | 2012-11-05 08:16:30 +0000 |
---|---|---|
committer | root <root@ops.vz.lan> | 2012-11-05 08:16:40 +0000 |
commit | c11fa1708b9d133c7efe9ca889ff0d9b8017119c (patch) | |
tree | e005cb3e0f234556c6341ecf6a246e5efd2d2d1a /actions/photos/admin/upgrade.php | |
parent | 931b5803ec26a8169870124b0027a5ccf9e3200e (diff) | |
download | elgg-c11fa1708b9d133c7efe9ca889ff0d9b8017119c.tar.gz elgg-c11fa1708b9d133c7efe9ca889ff0d9b8017119c.tar.bz2 |
force allowing an upgrade.
Diffstat (limited to 'actions/photos/admin/upgrade.php')
-rw-r--r-- | actions/photos/admin/upgrade.php | 2 |
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(); |