summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-10 10:57:35 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-10 10:57:35 -0400
commitaf0bf0486c25b7af0b237a33e2c1088924b84d0c (patch)
treeb41cd75fae87d518345aabf25f32e18ebfb1dcde /lib
parentd6532b0418fda7f97e72b6bfdbac2b401055c925 (diff)
update views when you remove a feed or mark item as read
Diffstat (limited to 'lib')
-rw-r--r--lib/itemmapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/itemmapper.php b/lib/itemmapper.php
index 95b88f6b3..8d6a755b1 100644
--- a/lib/itemmapper.php
+++ b/lib/itemmapper.php
@@ -131,7 +131,7 @@ class OC_News_ItemMapper {
$itemid = OCP\DB::insertid(self::tableName);
}
else {
- update($item);
+ $this->update($item);
}
$item->setId($itemid);
return $itemid;