return Update::SUCCESS;
}
+
+function update_1518()
+{
+ $users = DBA::select('user', ['uid']);
+ while ($user = DBA::fetch($users)) {
+ Contact::updateSelfFromUserID($user['uid']);
+ }
+ DBA::close($users);
+
+ return Update::SUCCESS;
+}
+
+function update_1520(): int
+{
+ DBA::update('user', ['parent-uid' => null], ['parent-uid' => 0]);
+
+ return Update::SUCCESS;
+}