server/apps/files_versions/appinfo/app.php

21 lines
447 B
PHP
Raw Normal View History

<?php
require_once('apps/files_versions/versions.php');
// Add an entry in the app list
2012-05-01 22:50:26 +00:00
OCP\App::register( array(
'order' => 10,
'id' => 'files_versions',
'name' => 'Versioning' ));
2012-05-01 22:50:26 +00:00
OCP\App::registerAdmin('files_versions', 'settings');
2012-05-01 18:03:41 +00:00
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");
?>