2012-04-24 01:54:49 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once('apps/files_versions/versions.php');
|
|
|
|
|
|
|
|
// Add an entry in the app list
|
2012-05-02 02:50:26 +04:00
|
|
|
OCP\App::register( array(
|
2012-04-24 01:54:49 +04:00
|
|
|
'order' => 10,
|
|
|
|
'id' => 'files_versions',
|
|
|
|
'name' => 'Versioning' ));
|
|
|
|
|
2012-05-02 02:50:26 +04:00
|
|
|
OCP\App::registerAdmin('files_versions', 'settings');
|
2012-05-01 22:03:41 +04:00
|
|
|
OCP\Util::addscript('files_versions', 'versions');
|
2012-04-24 01:54:49 +04:00
|
|
|
|
|
|
|
// Listen to write signals
|
2012-05-05 12:18:45 +04:00
|
|
|
OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook");
|
2012-04-24 01:54:49 +04:00
|
|
|
|
|
|
|
?>
|