news/appinfo/app.php

31 строка
717 B
PHP

<?php
/**
* ownCloud - News app
*
* @author Alessandro Cosentino
* Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com>
*
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file
*
*/
namespace OCA\News;
\OCP\App::addNavigationEntry( array(
'id' => 'news',
'order' => 74,
'href' => \OC_Helper::linkToRoute('news_index'),
'icon' => \OC_Helper::imagePath( 'news', 'news.svg' ),
'name' => \OC_L10N::get('news')->t('News')
));
/*
\OC_Search::registerProvider('OC_Search_Provider_News');
\OCP\Backgroundjob::addRegularTask( 'OCA\News\Backgroundjob', 'run' );
\OCP\Share::registerBackend('news_item', 'OCA\News\Share_Backend_News_Item');
*/