hidden plugins (add .hidden file to dir)

This commit is contained in:
friendica 2012-04-30 23:07:52 -07:00
parent 25afec0f81
commit d48cd0f9a3
7 changed files with 111 additions and 12 deletions

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1140 );
define( 'UPDATE_VERSION' , 1141 );
/**
*
@ -1223,3 +1223,10 @@ function update_1139() {
return UPDATE_FAILED ;
return UPDATE_SUCCESS ;
}
function update_1140() {
$r = q("alter table addon add hidden tinyint(1) not null default '0' after installed, add index(hidden) ");
if(! $r)
return UPDATE_FAILED ;
return UPDATE_SUCCESS ;
}