Merge https://github.com/redmatrix/redmatrix into pending_merge
Conflicts: include/zot.php install/schema_mysql.sql install/schema_postgres.sql install/update.php mod/zfinger.php
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1157 );
|
||||
define( 'UPDATE_VERSION' , 1158 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -1907,3 +1907,13 @@ function update_r1156() {
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1157() {
|
||||
$r1 = q("alter table site add site_project char(255) not null default '' ");
|
||||
$r2 = q("create index site_project on site ( site_project ) ");
|
||||
if($r1 && $r2)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user