From 2b466935af88d006ff6abdb94d3fa23061cf22c9 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 25 May 2013 18:41:41 +0200 Subject: [PATCH] Adds missing method documentation --- .../files/lib/data/user/avatar/UserAvatarAction.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php index 94af789625..3d6404cb7c 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php @@ -277,10 +277,18 @@ class UserAvatarAction extends AbstractDatabaseObjectAction { return $filename; } + /** + * Validates the 'getCropDialog' action. + */ public function validateGetCropDialog() { $this->avatar = $this->getSingleObject(); } + /** + * Returns the data for the dialog to crop an avatar. + * + * @return array + */ public function getCropDialog() { return array( 'cropX' => $this->avatar->cropX, -- 2.20.1