Added PHPDoc comment to checkPermissions (UpdateManager) and added chatmessages for the Queue
This commit is contained in:
committed by
Steffen Schröder
parent
1281ed72a6
commit
3c77d8a5a4
@ -374,6 +374,11 @@ class UpdateManager implements CallbackListener, CommandListener {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function checks if ManiaControl has sufficient access to files to update them.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private function checkPermissions() {
|
||||
$writableDirectories = array('core/', 'plugins/');
|
||||
$path = str_replace('core', '', realpath(dirname(__FILE__)));
|
||||
|
Reference in New Issue
Block a user