Skip to content

Commit 016db27

Browse files
committed
update minimal version of dependencies
1 parent 0c45715 commit 016db27

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

blueprints.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Popular Articles
22
slug: popular-articles
33
type: plugin
4-
version: 1.0.0
4+
version: 1.0.1
55
description: Display a list of the most popular articles from a blog
66
icon: star
77
author:
@@ -14,8 +14,8 @@ docs: https://github.com/tanguy-dechiron/grav-plugin-popular-articles/blob/devel
1414
license: MIT
1515

1616
dependencies:
17-
- { name: grav, version: '>=1.6.0' }
18-
- { name: admin, version: '>=1.0.0' }
17+
- { name: grav, version: '>=1.7.0' }
18+
- { name: admin, version: '>=1.10.0' }
1919

2020
form:
2121
validation: loose

popular-articles.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ class PopularArticlesPlugin extends Plugin
2424
public static function getSubscribedEvents(): array
2525
{
2626
return [
27-
'onPluginsInitialized' => [
28-
['autoload', 100000], // TODO: Remove when plugin requires Grav >=1.7
29-
['onPluginsInitialized', 0]
30-
]
27+
'onPluginsInitialized' => ['onPluginsInitialized', 0],
3128
];
3229
}
3330

0 commit comments

Comments
 (0)