diff --git a/appinfo/info.xml b/appinfo/info.xml index da721a6b..0563c624 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -5,7 +5,7 @@ Social 🎉 Nextcloud becomes part of the federated social networks! - 0.0.19 + 0.0.28 agpl Maxence Lange Julius Härtl diff --git a/composer.lock b/composer.lock index 45b5acd7..859a4f72 100644 --- a/composer.lock +++ b/composer.lock @@ -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": [], diff --git a/css/style.css b/css/style.css new file mode 100644 index 00000000..e69de29b diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index a1192ed8..243217e2 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -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); -// } - }