From: Matthias Schmidt Date: Wed, 6 Apr 2016 13:41:14 +0000 (+0200) Subject: Remove obsolete method parameter X-Git-Tag: 3.0.0_Beta_1~1967^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14a08d76bf50268eb26862e4efb59b1b155c1ba5;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete method parameter --- diff --git a/wcfsetup/install/files/lib/system/label/object/AbstractLabelObjectHandler.class.php b/wcfsetup/install/files/lib/system/label/object/AbstractLabelObjectHandler.class.php index 2244b8bf90..31d1cb3f53 100644 --- a/wcfsetup/install/files/lib/system/label/object/AbstractLabelObjectHandler.class.php +++ b/wcfsetup/install/files/lib/system/label/object/AbstractLabelObjectHandler.class.php @@ -145,7 +145,7 @@ abstract class AbstractLabelObjectHandler extends SingletonFactory implements IL * @see \wcf\system\label\manager\ILabelObjectHandler::removeLabels() */ public function removeLabels($objectID, $validatePermissions = true) { - LabelHandler::getInstance()->removeLabels($this->objectTypeID, $objectID, $validatePermissions); + LabelHandler::getInstance()->removeLabels($this->objectTypeID, $objectID); } /** diff --git a/wcfsetup/install/files/lib/system/upload/DefaultUploadFileSaveStrategy.class.php b/wcfsetup/install/files/lib/system/upload/DefaultUploadFileSaveStrategy.class.php index 5e76a23367..ba57970b8c 100644 --- a/wcfsetup/install/files/lib/system/upload/DefaultUploadFileSaveStrategy.class.php +++ b/wcfsetup/install/files/lib/system/upload/DefaultUploadFileSaveStrategy.class.php @@ -121,7 +121,7 @@ class DefaultUploadFileSaveStrategy implements IUploadFileSaveStrategy { $dir = dirname($object->getLocation()); if (!@file_exists($dir)) { - FileUtil::makePath($dir, 0777); + FileUtil::makePath($dir); } // move uploaded file diff --git a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php index b9aa49bd6a..04813f065f 100644 --- a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php @@ -331,7 +331,7 @@ class UserNotificationHandler extends SingletonFactory { $notifications = array_merge($notifications, $this->fetchNotifications($limit, 0, 1)); } - $returnValues = $this->processNotifications($notifications, true); + $returnValues = $this->processNotifications($notifications); $returnValues['notificationCount'] = $notificationCount; return $returnValues;