From: Chuck Hagenbuch Date: Sat, 21 Nov 2009 01:10:04 +0000 (-0500) Subject: Spacing and remove unnecessary reference X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2df72d90f0a17f01bb3a4b0afe49df99c9848e7a;p=horde.git Spacing and remove unnecessary reference --- diff --git a/ansel/lib/Faces.php b/ansel/lib/Faces.php index 0b92654a7..909188755 100644 --- a/ansel/lib/Faces.php +++ b/ansel/lib/Faces.php @@ -37,7 +37,7 @@ class Ansel_Faces * @param integer $face Face id * @static */ - static public function delete(&$image, $face = null) + static public function delete($image, $face = null) { if ($image->facesCount == 0) { return true; @@ -125,9 +125,9 @@ class Ansel_Faces // The HTML to display the face image. $imghtml = sprintf("\"%s\"", - $faces->getFaceUrl($face['image_id'], $face_id), - 'facethumb' . $face_id, - htmlspecialchars($face['face_name'])); + $faces->getFaceUrl($face['image_id'], $face_id), + 'facethumb' . $face_id, + htmlspecialchars($face['face_name'])); $img_view_url = Ansel::getUrlFor('view', array('gallery' => $face['gallery_id'], @@ -156,5 +156,4 @@ class Ansel_Faces return $html; } - }