require access token to view, query, or join directories in private realms, if the realm is so configured.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1137 );
|
||||
define( 'UPDATE_VERSION' , 1138 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -1568,3 +1568,11 @@ function update_r1136() {
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
||||
function update_r1137() {
|
||||
$r1 = q("alter table site add site_valid smallint not null default '0' ");
|
||||
$r2 = q("create index site_valid on site ( site_valid ) ");
|
||||
if($r1 && $r2)
|
||||
return UPDATE_SUCCESS;
|
||||
return UPDATE_FAILED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user