summaryrefslogtreecommitdiffstats
path: root/apps/user_migrate
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 14:29:34 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 14:29:34 +0200
commit3f9ac6405a4823349e30be1f9d874ce813ae53f0 (patch)
treedb7591ceffba8fb1cbc33bda949471b5e62197be /apps/user_migrate
parent8a69116e94be36640896ae1503f53acc303c20df (diff)
downloadnextcloud-server-3f9ac6405a4823349e30be1f9d874ce813ae53f0.tar.gz
nextcloud-server-3f9ac6405a4823349e30be1f9d874ce813ae53f0.zip
port some of the log call to the new public api
more to come
Diffstat (limited to 'apps/user_migrate')
-rw-r--r--apps/user_migrate/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_migrate/admin.php b/apps/user_migrate/admin.php
index 0160753af22..643d58867ef 100644
--- a/apps/user_migrate/admin.php
+++ b/apps/user_migrate/admin.php
@@ -37,7 +37,7 @@ if (isset($_POST['user_import'])) {
$to = get_temp_dir().'/'.$importname.'.zip';
if( !move_uploaded_file( $from, $to ) ){
$error = array('error'=>'Failed to move the uploaded file','hint'=>'Try checking the permissions of the '.get_temp_dir().' dir.');
- OC_Log::write( 'user_migrate', "Failed to copy the uploaded file", OC_Log::ERROR );
+ OCP\Util::writeLog( 'user_migrate', "Failed to copy the uploaded file", OC_Log::ERROR );
$tmpl = new OC_Template('user_migrate', 'admin');
$tmpl->assign('error',$error);
return $tmpl->fetchPage();
@@ -84,4 +84,4 @@ if (isset($_POST['user_import'])) {
// fill template
$tmpl = new OC_Template('user_migrate', 'admin');
return $tmpl->fetchPage();
-} \ No newline at end of file
+}