sushiShouldCache false

This commit is contained in:
xiaomlove
2025-06-22 12:01:37 +07:00
parent 82a7d61a9a
commit 8b76b83953
2 changed files with 7 additions and 1 deletions

View File

@@ -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);