1
0
Fork 0

"Company" is now "Organisation" and there is an auto update

This commit is contained in:
Michael Vogel 2016-09-26 19:35:01 +00:00
commit 2f06e9360f
4 changed files with 27 additions and 15 deletions

View file

@ -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));
}