Skip to content

Commit c191d4e

Browse files
authored
Update Plugin.php
逻辑反了,原本是想删除首页缓存的
1 parent 669f885 commit c191d4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public static function comment_update($comment)
352352

353353
self::init($article_url);
354354

355-
self::delete($article_url, 1);
355+
self::delete($article_url);
356356
}
357357

358358
/**
@@ -473,4 +473,4 @@ public static function delete($path, $del_home = null)
473473
}
474474
}
475475
}
476-
}
476+
}

0 commit comments

Comments
 (0)