]> git.mxchange.org Git - friendica.git/blobdiff - update.php
DE update to the translation
[friendica.git] / update.php
index a150fe39fa2108d75c78cf2d10630b2aa61e5433..31f7852a2f12b5c069ad63b1b903fdb7cb9e9046 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('UPDATE_VERSION' , 1199);
+define('UPDATE_VERSION' , 1203);
 
 /**
  *
@@ -1723,3 +1723,8 @@ function update_1190() {
        return UPDATE_SUCCESS;
 
 }
+
+function update_1202() {
+       $r = q("UPDATE `user` SET `account-type` = %d WHERE `page-flags` IN (%d, %d)",
+               dbesc(ACCOUNT_TYPE_COMMUNITY), dbesc(PAGE_COMMUNITY), dbesc(PAGE_PRVGROUP));
+}