Replace dba::select(limit => 1) by dba::selectOne

- Convert array declarations to new style
This commit is contained in:
Hypolite Petovan
2018-01-09 22:20:33 -05:00
parent a2d3cee006
commit da60893590
51 changed files with 206 additions and 219 deletions

View File

@@ -32,7 +32,7 @@ function receive_post(App $a)
}
$guid = $a->argv[2];
$importer = dba::select('user', array(), array('guid' => $guid, 'account_expired' => false, 'account_removed' => false), array('limit' => 1));
$importer = dba::selectOne('user', [], ['guid' => $guid, 'account_expired' => false, 'account_removed' => false]);
if (!DBM::is_result($importer)) {
http_status_exit(500);
}