aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 11:32:14 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 11:32:14 -0400
commit54707bb3188d3e29259586226631d65c49ece721 (patch)
tree05b53fe1dd2115a0c8a9acc10f892240b5f50f81 /lib/resize.php
parentad181ca6fb50ef8761604bd4288b0d452e95e123 (diff)
downloadelgg-54707bb3188d3e29259586226631d65c49ece721.tar.gz
elgg-54707bb3188d3e29259586226631d65c49ece721.tar.bz2
removed some deprecated functions
Diffstat (limited to 'lib/resize.php')
-rw-r--r--lib/resize.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 78b5290e6..b06f317ca 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -193,7 +193,7 @@ function tp_gd_resize($input_name, $output_name, $watermark, $maxwidth, $maxheig
* @return bool TRUE on success
*/
function tp_create_imagick_thumbnails($file, $prefix, $filestorename) {
- $image_sizes = get_plugin_setting('image_sizes', 'tidypics');
+ $image_sizes = elgg_get_plugin_setting('image_sizes', 'tidypics');
if (!$image_sizes) {
register_error(elgg_echo('tidypics:nosettings'));
return FALSE;
@@ -319,7 +319,7 @@ function tp_imagick_resize($input_name, $output_name, $maxwidth, $maxheight, $sq
* @return bool TRUE on success
*/
function tp_create_im_cmdline_thumbnails($file, $prefix, $filestorename) {
- $image_sizes = get_plugin_setting('image_sizes', 'tidypics');
+ $image_sizes = elgg_get_plugin_setting('image_sizes', 'tidypics');
if (!$image_sizes) {
register_error(elgg_echo('tidypics:nosettings'));
return FALSE;
@@ -423,7 +423,7 @@ function tp_im_cmdline_resize($input_name, $output_name, $maxwidth, $maxheight,
return FALSE;
}
- $im_path = get_plugin_setting('im_path', 'tidypics');
+ $im_path = elgg_get_plugin_setting('im_path', 'tidypics');
if (!$im_path) {
$im_path = "/usr/bin/";
}