implement 'requires' on personal apps

This commit is contained in:
friendica
2014-05-22 19:19:04 -07:00
parent ceb64bdb24
commit bcac633085
4 changed files with 53 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1111 );
define( 'UPDATE_VERSION' , 1112 );
/**
*
@@ -1244,3 +1244,10 @@ ADD INDEX ( `app_price` )");
return UPDATE_SUCCESS;
}
function update_r1111() {
$r = q("ALTER TABLE `app` ADD `app_requires` CHAR( 255 ) NOT NULL DEFAULT '' ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}