Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5

This commit is contained in:
Michael Save committed 2011-12-30 00:30:01 +11:00
1 parent 21b35094dd
commit 9bb0e1984d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@
return $this->image->destroy();
}
public function resize() {
$this->image = $this->original->clone();
$this->image = clone $this->original;
$this->image->scaleImage($this->width, $this->height, false);
}