summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/quick.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-06 12:58:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-06 12:58:53 -0700
commitdc0d344b4acb7a7d7d60628d5928163bf121ab1a (patch)
tree60074ada8250bd1850031256400c8354287ad3fc /modules/gallery/controllers/quick.php
parent49505f28bb68e84b926d7907a33c7f814e78eb3c (diff)
Move the graphics::rotate to gallery_graphics::rotate to be consistent with the other gallery graphics functions.
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r--modules/gallery/controllers/quick.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php
index 2ac54754..a1e7dcc3 100644
--- a/modules/gallery/controllers/quick.php
+++ b/modules/gallery/controllers/quick.php
@@ -36,7 +36,8 @@ class Quick_Controller extends Controller {
}
if ($degrees) {
- graphics::rotate($item->file_path(), $item->file_path(), array("degrees" => $degrees));
+ gallery_graphics::rotate($item->file_path(), $item->file_path(),
+ array("degrees" => $degrees));
list($item->width, $item->height) = getimagesize($item->file_path());
$item->resize_dirty= 1;