summaryrefslogtreecommitdiff
path: root/modules/watermark
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-26 04:02:55 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-26 04:02:55 +0000
commit2011ee13efb7d0165ff187f392b78d1a5f5992e5 (patch)
tree3e0e87ad2d0419973b9c3c9984c1536ea9509668 /modules/watermark
parent6b45be9632b6b2d6f5c3dfbdcfc962b74f23fc74 (diff)
Remove an HTTP redirect that was breaking the Ajax interface.
Diffstat (limited to 'modules/watermark')
-rw-r--r--modules/watermark/controllers/admin_watermarks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/watermark/controllers/admin_watermarks.php b/modules/watermark/controllers/admin_watermarks.php
index 7a8eb217..f009c0cf 100644
--- a/modules/watermark/controllers/admin_watermarks.php
+++ b/modules/watermark/controllers/admin_watermarks.php
@@ -105,7 +105,7 @@ class Admin_Watermarks_Controller extends Admin_Controller {
module::set_var("watermark", "mime_type", $image_info["mime"]);
module::set_var("watermark", "position", $form->add_watermark->position->value);
message::success(_("Watermark saved"));
- url::redirect("admin/watermarks");
+ log::success("watermark", _("Uploaded watermark"));
@unlink($file);
print json_encode(