summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-18 19:25:27 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-18 19:25:27 -0400
commitf3f251acec735d44b1abbe609d83eb349ef40305 (patch)
tree6d8b7a319a74afc97ebb0344d5c7d0b10b9c3e89 /templates
parent5fccf54f9f3c04d081d871bab130730d5e417fd3 (diff)
basically reversing commit 18176083
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feeds.php4
-rw-r--r--templates/populateroot.php18
2 files changed, 2 insertions, 20 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index cee670063..7d14afe45 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -27,7 +27,7 @@
}
echo '</ul></li></ul>';
}
- include("populateroot.php");
+
include("part.itemcounter.php");
- print_folder($allfeeds, 0);
+ print_folder($_['allfeeds'], 0);
?> \ No newline at end of file
diff --git a/templates/populateroot.php b/templates/populateroot.php
deleted file mode 100644
index a408c25ec..000000000
--- a/templates/populateroot.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-OCP\JSON::checkLoggedIn();
-OCP\JSON::checkAppEnabled('news');
-
-$foldermapper = new OC_News_FolderMapper(OCP\USER::getUser());
-
-$allfeeds = $foldermapper->populate('Everything', 0);
-
-if ($allfeeds) {
- $feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null;
- if ($feedid == null) {
-
- }
-}
-else {
- $feedid = 0;
-}