provide version info in /pubsites

This commit is contained in:
redmatrix
2016-09-07 17:36:45 -07:00
parent 77e865fc8e
commit c2f83639d4
7 changed files with 26 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1182 );
define( 'UPDATE_VERSION' , 1183 );
/**
*
@@ -2436,3 +2436,11 @@ function update_r1181() {
return UPDATE_SUCCESS;
}
function update_r1182() {
$r1 = q("alter table site add site_version varchar(32) not null default '' ");
if($r1)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}