aboutsummaryrefslogtreecommitdiff
path: root/lib/watermark.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/watermark.php')
-rw-r--r--lib/watermark.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/watermark.php b/lib/watermark.php
index 5b9a4abcd..a2aebffd9 100644
--- a/lib/watermark.php
+++ b/lib/watermark.php
@@ -138,7 +138,7 @@ function tp_imagick_watermark($filename) {
*/
function tp_im_cmdline_watermark($filename) {
- $watermark_text = get_plugin_setting('watermark_text', 'tidypics');
+ $watermark_text = elgg_get_plugin_setting('watermark_text', 'tidypics');
if (!$watermark_text) {
return;
}
@@ -148,7 +148,7 @@ function tp_im_cmdline_watermark($filename) {
return;
}
- $im_path = get_plugin_setting('im_path', 'tidypics');
+ $im_path = elgg_get_plugin_setting('im_path', 'tidypics');
if (!$im_path) {
$im_path = "/usr/bin/";
}