]> git.mxchange.org Git - friendica.git/blobdiff - update.php
some minor fixings
[friendica.git] / update.php
index aead1b93de68455c97b93d9abbf482cb8093c2ab..1bdccddeaa77f951fbb3ab93d365824dab2f7cfc 100644 (file)
@@ -373,4 +373,14 @@ function update_1309()
 function update_1315()
 {
        DBA::delete('item-delivery-data', ['postopts' => '', 'inform' => '', 'queue_count' => 0, 'queue_done' => 0]);
+       return Update::SUCCESS;
+}
+
+function update_1318()
+{
+       DBA::update('profile', ['marital' => "In a relation"], ['marital' => "Unavailable"]);
+       DBA::update('profile', ['marital' => "Single"], ['marital' => "Available"]);
+
+       Worker::add(PRIORITY_LOW, 'ProfileUpdate');
+       return Update::SUCCESS;
 }