浏览代码

Set the minimum revision to update

Due to the manual update from 41 to 42 revisions.
Visman 3 年之前
父节点
当前提交
1a12746217
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Models/Pages/Admin/Update.php

+ 2 - 2
app/Models/Pages/Admin/Update.php

@@ -157,10 +157,10 @@ class Update extends Admin
                         $e = __(['You are running error', 'PHP', \PHP_VERSION, $this->c->FORK_REVISION, self::PHP_MIN]);
                     }
 
-                    // база не от ForkBB ????
+                    // база не от ForkBB или старая ревизия
                     if (
                         null === $e
-                        && $this->c->config->i_fork_revision < 1
+                        && $this->c->config->i_fork_revision < 41
                     ) {
                         $e = 'Version mismatch error';
                     }