mirror of
https://github.com/friendica/friendica
synced 2025-04-27 16:30:10 +00:00
Update use statement lists with new Friendica\Database\dba class
- Remove unused use statement - Remove superfluous use statements (classes in the same namespace) - Add missing use statements
This commit is contained in:
parent
c316c5ae30
commit
daa1177e3a
128 changed files with 262 additions and 259 deletions
|
@ -4,12 +4,13 @@
|
|||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\dba;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
|
@ -17,7 +18,7 @@ class Cron
|
|||
{
|
||||
public static function execute($parameter = '', $generation = 0)
|
||||
{
|
||||
$a = \Friendica\BaseObject::getApp();
|
||||
$a = BaseObject::getApp();
|
||||
|
||||
// Poll contacts with specific parameters
|
||||
if (!empty($parameter)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue