Skip to content
Snippets Groups Projects
Commit c069aa62 authored by Tom Needham's avatar Tom Needham
Browse files

Fix annoying error in log

parent 9b1c881c
Branches
No related tags found
No related merge requests found
......@@ -91,7 +91,8 @@ class OC_Migrate{
if( self::$exporttype == 'user' ){
// Check user exists
if( !is_null($uid) ){
if( !OC_User_Database::userExists( $uid ) ){
$db = new OC_User_Database;
if( !$db->userExists( $uid ) ){
OC_Log::write('migration', 'User: '.$uid.' is not in the database and so cannot be exported.', OC_Log::ERROR);
return json_encode( array( 'success' => false ) );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment