From 5c754dfbb206ccda42a893e49c5faf144b192462 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 11 Jun 2012 19:25:17 +0200 Subject: [PATCH] Declared _add() and _remove() as protected --- .../system/log/modification/ModificationLogHandler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'"); -- 2.20.1