From 3352dfb423e329212b497d5083a477c66ab609a4 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 6 Jan 2015 12:36:13 +0100 Subject: [PATCH] Fix migration patch --- lib/classes/patch/320alpha4b.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/patch/320alpha4b.php b/lib/classes/patch/320alpha4b.php index 91a352df64..32e53b9704 100644 --- a/lib/classes/patch/320alpha4b.php +++ b/lib/classes/patch/320alpha4b.php @@ -81,7 +81,7 @@ class patch_320alpha4b implements patchInterface foreach ($rs as $row) { $user = User_Adapter::getInstance($row['usr_id'], $app); - $feed = $this->get_feed($appbox, $user, $row['pub_restrict'], $row['homelink']); + $feed = $this->get_feed($app, $appbox, $user, $row['pub_restrict'], $row['homelink']); if (! $feed instanceof Feed_Adapter) { continue; @@ -138,7 +138,7 @@ class patch_320alpha4b implements patchInterface } protected static $feeds = array(); - protected function get_feed(appbox $appbox, User_Adapter $user, $pub_restrict, $homelink) + protected function get_feed(Application $app, appbox $appbox, User_Adapter $user, $pub_restrict, $homelink) { $user_key = 'user_' . $user->get_id(); if ($homelink == '1')