admin/dbsync not reporting failed updates

This commit is contained in:
friendica 2015-02-01 15:41:01 -08:00
parent 9bef0d5e14
commit e58bef049d
2 changed files with 2 additions and 2 deletions

View File

@ -1556,4 +1556,4 @@ function update_r1135() {
if($r) if($r)
return UPDATE_SUCCESS; return UPDATE_SUCCESS;
return UPDATE_FAILED; return UPDATE_FAILED;
} }

View File

@ -562,7 +562,7 @@ function admin_page_dbsync(&$a) {
if(count($r)) { if(count($r)) {
foreach($r as $rr) { foreach($r as $rr) {
$upd = intval(substr($rr['k'],8)); $upd = intval(substr($rr['k'],8));
if($upd < 1139 || $rr['v'] === 'success') if($rr['v'] === 'success')
continue; continue;
$failed[] = $upd; $failed[] = $upd;
} }