diff options
| author | Cash Costello <cash.costello@gmail.com> | 2012-07-14 11:32:14 -0400 | 
|---|---|---|
| committer | Cash Costello <cash.costello@gmail.com> | 2012-07-14 11:32:14 -0400 | 
| commit | 54707bb3188d3e29259586226631d65c49ece721 (patch) | |
| tree | 05b53fe1dd2115a0c8a9acc10f892240b5f50f81 | |
| parent | ad181ca6fb50ef8761604bd4288b0d452e95e123 (diff) | |
| download | elgg-54707bb3188d3e29259586226631d65c49ece721.tar.gz elgg-54707bb3188d3e29259586226631d65c49ece721.tar.bz2  | |
removed some deprecated functions
| -rw-r--r-- | lib/resize.php | 6 | ||||
| -rw-r--r-- | lib/watermark.php | 4 | 
2 files changed, 5 insertions, 5 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/";  	} 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/";  	}  | 
