forked from GNUsocial/gnu-social
[DATABASE] Start transactions with START TRANSACTION
"BEGIN" is non-standard and unnecessary.
This commit is contained in:
@@ -262,7 +262,7 @@ class TwitterImport
|
||||
}
|
||||
|
||||
$profile = new Profile();
|
||||
$profile->query("BEGIN");
|
||||
$profile->query('START TRANSACTION');
|
||||
$profile->nickname = $twuser->screen_name;
|
||||
$profile->fullname = $twuser->name;
|
||||
$profile->homepage = $twuser->url;
|
||||
|
Reference in New Issue
Block a user