From b726392855f1137803f25b710441375c20d0f140 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 23 Oct 2010 12:06:27 +0000 Subject: a little clean up of upgrade view --- views/default/tidypics/admin/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/tidypics/admin/upgrade.php b/views/default/tidypics/admin/upgrade.php index 5a21aa136..3450bd7db 100644 --- a/views/default/tidypics/admin/upgrade.php +++ b/views/default/tidypics/admin/upgrade.php @@ -3,7 +3,6 @@ require_once "{$CONFIG->pluginspath}tidypics/version.php"; $upgrade_url = "{$vars['url']}action/tidypics/admin/upgrade"; -//$upgrade_url = elgg_add_action_tokens_to_url($upgrade_url); // determine whether an upgrade is required $local_version = get_plugin_setting('version', 'tidypics'); @@ -16,6 +15,7 @@ if ($local_version === FALSE) { $local_version = $version; } } elseif ($local_version == '1.62') { + // special work around to handle old upgrade system $local_version = 2010010101; set_plugin_setting('version', $local_version, 'tidypics'); } -- cgit v1.2.3