78 if ($md->value !== -1) {
84 $method =
substr($md->name,
strlen(
'collections_notifications_preferences_'));
85 $user = $md->getEntity();
88 $user->setNotificationSetting($method,
true,
'friends');
run(Result $result, $offset)
addFailures(int $num=1)
Increment failure count.
Database abstraction query builder.
addSuccesses(int $num=1)
Set an item (or items) as successfully upgraded.
Migrate the old access collection notification preferences to the new logic The old settings are from...
compare(string $x, string $comparison, $y=null, string $type=null, bool $case_sensitive=null)
Build value comparison clause.
Result of a single BatchUpgrade run.
Class to extend for asynchronous upgrades, i.e.