Update log message when error occurs during addGroup

This commit is contained in:
Tom Needham 2016-01-08 10:42:55 +00:00 committed by Morris Jobke
parent 1af3bca720
commit 3327857c1a
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class Groups{
// Validate name
$groupId = $this->request->getParam('groupid', '');
if(empty($groupId)){
\OCP\Util::writeLog('provisioning_api', 'Attempt made to create group using invalid characters.', \OCP\Util::ERROR);
\OCP\Util::writeLog('provisioning_api', 'Group name not supplied', \OCP\Util::ERROR);
return new OC_OCS_Result(null, 101, 'Invalid group name');
}
// Check if it exists