allow objects to have permissions

This commit is contained in:
friendica
2013-12-28 16:05:03 -08:00
parent 1d0fddd39c
commit aacd3164fa
3 changed files with 16 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1088 );
define( 'UPDATE_VERSION' , 1089 );
/**
*
@@ -967,3 +967,13 @@ ADD INDEX ( `xprof_hometown` )");
return UPDATE_FAILED;
}
function update_r1088() {
$r = q("ALTER TABLE `obj` ADD `allow_cid` MEDIUMTEXT NOT NULL DEFAULT '',
ADD `allow_gid` MEDIUMTEXT NOT NULL DEFAULT '',
ADD `deny_cid` MEDIUMTEXT NOT NULL DEFAULT '',
ADD `deny_gid` MEDIUMTEXT NOT NULL DEFAULT ''");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}