aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/appinfo/app.php
blob: ebaa7ee0e7e70cfb35bfc303d473d8cbfccf8dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

require_once('apps/files_versions/versions.php');

// Add an entry in the app list
OCP\App::register( array(
  'order' => 10,
  'id' => 'files_versions',
  'name' => 'Versioning' ));

OCP\App::registerAdmin('files_versions', 'settings');
OCP\Util::addscript('files_versions', 'versions');

// Listen to write signals
OC_Hook::connect(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook");




?>