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

This commit is contained in:
Thomas Mueller 2013-01-06 23:30:17 +01:00
parent a143e77ee4
commit 19e604c104
1 changed files with 1 additions and 1 deletions

View File

@ -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;