fixing call of OC_Log::write() - missing parameter
This commit is contained in:
parent
a143e77ee4
commit
19e604c104
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue