kopia lustrzana https://github.com/nextcloud/social
upgrading version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/20/head
rodzic
6a0ac5934e
commit
ec04f02800
|
@ -5,7 +5,7 @@
|
|||
<name>Social</name>
|
||||
<summary>🎉 Nextcloud becomes part of the federated social networks!</summary>
|
||||
<description><![CDATA[test]]></description>
|
||||
<version>0.0.19</version>
|
||||
<version>0.0.28</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="maxence@artificial-owl.com">Maxence Lange</author>
|
||||
<author mail="jus@bitgrid.net">Julius Härtl</author>
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/daita/my-small-php-tools.git",
|
||||
"reference": "e0d7d135d75839419cc9f46b6e0543720234a791"
|
||||
"reference": "f063c1101ee10e9cee68cc0cedbccd3aedec5ad3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/e0d7d135d75839419cc9f46b6e0543720234a791",
|
||||
"reference": "e0d7d135d75839419cc9f46b6e0543720234a791",
|
||||
"url": "https://api.github.com/repos/daita/my-small-php-tools/zipball/f063c1101ee10e9cee68cc0cedbccd3aedec5ad3",
|
||||
"reference": "f063c1101ee10e9cee68cc0cedbccd3aedec5ad3",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
],
|
||||
"description": "My small PHP Tools",
|
||||
"time": "2018-10-12T13:48:31+00:00"
|
||||
"time": "2018-11-12T11:01:02+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
|
|
|
@ -27,17 +27,18 @@ declare(strict_types=1);
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
namespace OCA\Social\AppInfo;
|
||||
|
||||
|
||||
use OCP\AppFramework\App;
|
||||
use OCP\AppFramework\IAppContainer;
|
||||
|
||||
|
||||
class Application extends App {
|
||||
|
||||
const APP_NAME = 'social';
|
||||
|
||||
/** @var IAppContainer */
|
||||
private $container;
|
||||
const APP_NAME = 'social';
|
||||
|
||||
|
||||
/**
|
||||
|
@ -47,32 +48,7 @@ class Application extends App {
|
|||
*/
|
||||
public function __construct(array $params = []) {
|
||||
parent::__construct(self::APP_NAME, $params);
|
||||
|
||||
$this->container = $this->getContainer();
|
||||
}
|
||||
|
||||
//
|
||||
// /**
|
||||
// * Register Navigation Tab
|
||||
// */
|
||||
// public function registerNavigation() {
|
||||
//
|
||||
// $urlGen = \OC::$server->getURLGenerator();
|
||||
// $navName = \OC::$server->getL10N(self::APP_NAME)
|
||||
// ->t('Social');
|
||||
//
|
||||
// $social = [
|
||||
// 'id' => self::APP_NAME,
|
||||
// 'order' => 5,
|
||||
// 'href' => $urlGen->linkToRoute('social.Navigation.navigate'),
|
||||
// 'icon' => $urlGen->imagePath(self::APP_NAME, 'social.svg'),
|
||||
// 'name' => $navName
|
||||
// ];
|
||||
//
|
||||
// $this->container->getServer()
|
||||
// ->getNavigationManager()
|
||||
// ->add($social);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue