* @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);
}
/**
$dir = dirname($object->getLocation());
if (!@file_exists($dir)) {
- FileUtil::makePath($dir, 0777);
+ FileUtil::makePath($dir);
}
// move uploaded file
$notifications = array_merge($notifications, $this->fetchNotifications($limit, 0, 1));
}
- $returnValues = $this->processNotifications($notifications, true);
+ $returnValues = $this->processNotifications($notifications);
$returnValues['notificationCount'] = $notificationCount;
return $returnValues;