summaryrefslogtreecommitdiff
path: root/modules/watermark/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-26 05:43:06 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-26 05:43:06 +0000
commitdee20ed6a2bd92a2e67c27ccc7d60303d66cdcde (patch)
tree0d3b432effb5ba4cc8e6eb2c8627c9661d52ebe8 /modules/watermark/helpers
parent0bef37eb0b077863984eb70ec99c40b2f32840bf (diff)
Added the concept of "permanent" messages that we show to admins. Use
this to show a "your thumbs/resizes are out of date" message whenever we change the graphics rules. Tweak watermark module to add graphics rules whenever we make a change, which triggers the graphics module to add the permanent message.
Diffstat (limited to 'modules/watermark/helpers')
-rw-r--r--modules/watermark/helpers/watermark_installer.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/watermark/helpers/watermark_installer.php b/modules/watermark/helpers/watermark_installer.php
index 52957273..01dfa40a 100644
--- a/modules/watermark/helpers/watermark_installer.php
+++ b/modules/watermark/helpers/watermark_installer.php
@@ -40,9 +40,7 @@ class watermark_installer {
}
public static function uninstall() {
- if (module::get_var("watermark", "name")) {
- graphics::mark_all_dirty();
- }
+ graphics::remove_rules("watermark");
module::delete("watermark");
Database::instance()->query("DROP TABLE `watermarks`");
dir::unlink(VARPATH . "modules/watermark");