summaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-06-16 09:59:46 +0200
committerGravatar GitHub <noreply@github.com> 2018-06-16 09:59:46 +0200
commit3306a1679c2570c30d4b662c887b4a71ce147398 (patch)
tree35fb1616c1166723676c789d6127a98db3260148 /p/api/pshb.php
parentc0122003fe3031926546012b86a38b5187082613 (diff)
parent8fcacc8cf41c14dd7d9712329d75ff4f041f3caf (diff)
Merge pull request #1921 from FreshRSS/dev1.11.1
FreshRSS 1.11.1
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 57a7bb0dd..ac78bfd74 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -116,6 +116,8 @@ if ($self !== base64url_decode($canonical64)) {
$self = base64url_decode($canonical64);
}
+Minz_ExtensionManager::init();
+
$nb = 0;
foreach ($users as $userFilename) {
$username = basename($userFilename, '.txt');
@@ -132,6 +134,10 @@ foreach ($users as $userFilename) {
join_path(FRESHRSS_PATH, 'config-user.default.php'));
new Minz_ModelPdo($username); //TODO: FIXME: Quick-fix while waiting for a better FreshRSS() constructor/init
FreshRSS_Context::init();
+ if (FreshRSS_Context::$user_conf != null) {
+ Minz_ExtensionManager::enableByList(FreshRSS_Context::$user_conf->extensions_enabled);
+ }
+
list($updated_feeds, $feed, $nb_new_articles) = FreshRSS_feed_Controller::actualizeFeed(0, $self, false, $simplePie);
if ($updated_feeds > 0 || $feed != false) {
$nb++;