mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
sushiShouldCache false
This commit is contained in:
@@ -32,12 +32,18 @@ class PluginStore extends Model
|
||||
{
|
||||
$list = self::listAll(true);
|
||||
$enabled = Plugin::listEnabled();
|
||||
// dd($list, $enabled);
|
||||
foreach ($list as $key => $row) {
|
||||
$list[$key]['installed_version'] = $enabled[$row['plugin_id']] ?? '';
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
protected function sushiShouldCache()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getBlogPostUrl(): string
|
||||
{
|
||||
return sprintf(self::BLOG_POST_URL, $this->post_id);
|
||||
|
||||
Reference in New Issue
Block a user