summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/appinfo/app.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-04-23 23:54:49 +0200
committerFrank Karlitschek <karlitschek@kde.org>2012-04-23 23:54:49 +0200
commit4ea927a7987d7fdcefcacb341f1a60b094ccf8d2 (patch)
treedeb1cad81406276ffd2e3db66a77cd3d78af73c4 /apps/files_versions/appinfo/app.php
parentf5c9fe9ece6fdfb35bab5eefdf83830b5045b5a8 (diff)
downloadnextcloud-server-4ea927a7987d7fdcefcacb341f1a60b094ccf8d2.tar.gz
nextcloud-server-4ea927a7987d7fdcefcacb341f1a60b094ccf8d2.zip
wrote a new versioning app over the weekend. Basic functionality to far but it works (TM) and has all the needed features (TM) for ownCloud 4. Userinterface integration and small improvements still missing.
Diffstat (limited to 'apps/files_versions/appinfo/app.php')
-rw-r--r--apps/files_versions/appinfo/app.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_versions/appinfo/app.php b/apps/files_versions/appinfo/app.php
new file mode 100644
index 00000000000..6e7a803252e
--- /dev/null
+++ b/apps/files_versions/appinfo/app.php
@@ -0,0 +1,19 @@
+<?php
+
+require_once('apps/files_versions/versions.php');
+
+// Add an entry in the app list
+OC_App::register( array(
+ 'order' => 10,
+ 'id' => 'files_versions',
+ 'name' => 'Versioning' ));
+
+OC_APP::registerAdmin('files_versions', 'settings');
+
+// Listen to write signals
+OC_Hook::connect(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook");
+
+
+
+
+?>