adjust(); } else { //multiDB environment, need to foreach (MultiDB::$dbs as $db) { MultiDB::setDB($db); $this->adjust(); } } } public function adjust() { foreach(Account::cursor() as $account){ //@TODO once we add in the two columns daily_emails_quota daily_emails_sent_ } } }