mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Revert "Datastore improvements"
This commit is contained in:
parent
b8b52f4d05
commit
27be6863fc
19 changed files with 50 additions and 67 deletions
|
@ -13,7 +13,7 @@ if (!defined('IN_AJAX')) {
|
|||
|
||||
global $datastore, $lang;
|
||||
|
||||
if (!$ranks = $datastore->get('ranks') and !$datastore->has('ranks')) {
|
||||
if (!$ranks = $datastore->get('ranks')) {
|
||||
$datastore->update('ranks');
|
||||
$ranks = $datastore->get('ranks');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue