From: Alexander Ebert Date: Mon, 11 Jun 2012 17:25:17 +0000 (+0200) Subject: Declared _add() and _remove() as protected X-Git-Tag: 2.0.0_Beta_1~1006^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c754dfbb206ccda42a893e49c5faf144b192462;p=GitHub%2FWoltLab%2FWCF.git Declared _add() and _remove() as protected --- diff --git a/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php b/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php index 85cf43a755..41698d4980 100644 --- a/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php +++ b/wcfsetup/install/files/lib/system/log/modification/ModificationLogHandler.class.php @@ -59,7 +59,7 @@ class ModificationLogHandler extends SingletonFactory { * @param string $username * @return wcf\data\modification\log\ModificationLog */ - public function add($objectType, $objectID, $action, array $additionalData = array(), $time = TIME_NOW, $userID = null, $username = null) { + protected function _add($objectType, $objectID, $action, array $additionalData = array(), $time = TIME_NOW, $userID = null, $username = null) { $objectType = $this->getObjectType($objectType); if ($objectType === null) { throw new SystemException("Object type '".$objectType."' not found within definition 'com.woltlab.wcf.modifiableContent'"); @@ -81,7 +81,7 @@ class ModificationLogHandler extends SingletonFactory { * @param string $objectType * @param array $objectIDs */ - public function remove($objectType, array $objectIDs) { + protected function _remove($objectType, array $objectIDs) { $objectType = $this->getObjectType($objectType); if ($objectType === null) { throw new SystemException("Object type '".$objectType."' not found within definition 'com.woltlab.wcf.modifiableContent'");