lostpass fixes and login/logout flow if authenticated but no default channel exists

This commit is contained in:
friendica
2013-01-27 01:19:24 -08:00
parent 22bde9b2b7
commit 28ab6d5bf5
9 changed files with 45 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1021 );
define( 'UPDATE_VERSION' , 1022 );
/**
*
@@ -292,3 +292,14 @@ function update_r1020() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
function update_r1021() {
$r = q("ALTER TABLE `abook` CHANGE `abook_connnected` `abook_connected` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
drop index `abook_connnected`, add index ( `abook_connected` ) ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}