Skip to content
Snippets Groups Projects
Commit 19e604c1 authored by Thomas Müller's avatar Thomas Müller
Browse files

fixing call of OC_Log::write() - missing parameter

parent a143e77e
No related branches found
No related tags found
No related merge requests found
......@@ -655,7 +655,7 @@ class OC_Migrate{
$query = OC_DB::prepare( "INSERT INTO `*PREFIX*users` ( `uid`, `password` ) VALUES( ?, ? )" );
$result = $query->execute( array( $uid, $hash));
if( !$result ) {
OC_Log::write('migration', 'Failed to create the new user "'.$uid."");
OC_Log::write('migration', 'Failed to create the new user "'.$uid."", OC_Log::ERROR);
}
return $result ? true : false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment