aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/forms/admin.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php
index c3b366521..1685f7791 100644
--- a/views/default/tidypics/forms/admin.php
+++ b/views/default/tidypics/forms/admin.php
@@ -3,10 +3,6 @@
* Tidypics admin settings form
*/
- // to do
- // 1. set action and code it
- // 2. add language strings
- // 3. clean up and organize
$action = $vars['url'] . 'action/tidypics/settings';
@@ -14,6 +10,11 @@
$plugin = find_plugin_settings('tidypics');
+ // bootstrap the plugin version here for now
+ if (!$plugin->version) {
+ set_plugin_setting('version', 1.62, 'tidypics');
+ }
+
if (extension_loaded('imagick'))
$img_lib_options['ImageMagickPHP'] = 'IMagick PHP';