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 2011-12-30 00:30:01 +11:00
parent 21b35094dd
commit 9bb0e1984d
2 changed files with 2 additions and 2 deletions

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);
}