updates 1201 and 1200 should return success for postgres. notifications: remove class show and session storage entry when we mark all notifications seen

This commit is contained in:
Mario Vavti
2018-02-19 20:23:13 +01:00
parent 43992dc463
commit 2047801b85
4 changed files with 18 additions and 8 deletions

View File

@@ -10,11 +10,15 @@ function run() {
DROP INDEX item_type,
ADD INDEX uid_item_type (uid, item_type)
");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
else {
return UPDATE_SUCCESS;
}
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
}
}