$parameters['userID'] = null;
}
- return parent::update($parameters);
+ parent::update($parameters);
}
/**
if (WCF::getSession()->getPermission('admin.configuration.package.canUpdatePackage') && VERBOSITY >= -1 && !self::getArgvParser()->disableUpdateCheck) {
$updates = PackageUpdateDispatcher::getInstance()->getAvailableUpdates();
if (!empty($updates)) {
- $return = self::getReader()->println(count($updates) . ' update' . (count($updates) > 1 ? 's are' : ' is') . ' available');
+ self::getReader()->println(count($updates) . ' update' . (count($updates) > 1 ? 's are' : ' is') . ' available');
if (VERBOSITY >= 1) {
$table = array(
* @see \wcf\system\background\BackgroundQueueHandler::enqueueAt()
*/
public function enqueueIn($jobs, $time = 0) {
- return self::enqueueAt($jobs, TIME_NOW + $time);
+ self::enqueueAt($jobs, TIME_NOW + $time);
}
/**
* @inheritDoc
*/
public function checkUser(Condition $condition, User $user) {
- $this->checkObject($user, $condition->conditionData);
+ return $this->checkObject($user, $condition->conditionData);
}
}
// call 'update' event
EventHandler::getInstance()->fireAction($this, 'update');
- return $this->install();
+ $this->install();
}
/**