summaryrefslogtreecommitdiffstats
path: root/apps/user_migrate/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_migrate/admin.php')
-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
+}