summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-11-12 21:59:01 -0100
committerMaxence Lange <maxence@artificial-owl.com>2018-11-12 21:59:01 -0100
commitec04f02800998896ba71e53845d2e5dabedacb24 (patch)
treea2a4092177668f7029c883a18db85e511c81f059
parent6a0ac5934e20c6f4ac11c640eb147ffc3dceb7db (diff)
upgrading version
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--appinfo/info.xml2
-rw-r--r--composer.lock8
-rw-r--r--css/style.css0
-rw-r--r--lib/AppInfo/Application.php32
4 files changed, 9 insertions, 33 deletions
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 @@
<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>
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
--- /dev/null
+++ b/css/style.css
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);
-// }
-
}