summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/groups.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-04-09 12:36:10 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-05-18 10:57:52 +0200
commit7a8072e958f6956c131ca12e5b7387bcadef1820 (patch)
tree37b3d34a30e1a09b41deb7d122746e374895c824 /apps/provisioning_api/lib/groups.php
parent73a3086945b41afa39debd89481c021934dedb67 (diff)
downloadnextcloud-server-7a8072e958f6956c131ca12e5b7387bcadef1820.tar.gz
nextcloud-server-7a8072e958f6956c131ca12e5b7387bcadef1820.zip
Move core apps from OC_Log::write to OCP\Util
Diffstat (limited to 'apps/provisioning_api/lib/groups.php')
-rw-r--r--apps/provisioning_api/lib/groups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/groups.php b/apps/provisioning_api/lib/groups.php
index cd156110635..b379cea21ee 100644
--- a/apps/provisioning_api/lib/groups.php
+++ b/apps/provisioning_api/lib/groups.php
@@ -62,7 +62,7 @@ class Groups{
// Validate name
$groupid = isset($_POST['groupid']) ? $_POST['groupid'] : '';
if( preg_match( '/[^a-zA-Z0-9 _\.@\-]/', $groupid ) || empty($groupid)){
- \OC_Log::write('provisioning_api', 'Attempt made to create group using invalid characters.', \OC_Log::ERROR);
+ \OCP\Util::writeLog('provisioning_api', 'Attempt made to create group using invalid characters.', \OCP\Util::ERROR);
return new OC_OCS_Result(null, 101, 'Invalid group name');
}
// Check if it exists