blob: 6a258910afcbf03307052494b333ac86eb711440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('news');
$foldermapper = new OCA\News\FolderMapper(OCP\USER::getUser());
$l = new OC_l10n('news');
$folder = new OC_News_Folder($l->t('Everything'), 0);
$allfeeds = $foldermapper->populate($folder);
if ($allfeeds) {
$feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null;
if ($feedid == null) {
}
}
else {
$feedid = 0;
}
|