diff --git a/include/management/actions/class_Action.inc b/include/management/actions/class_Action.inc index 405bd43c8f7cee9d94807bf774d9cb344dc7873b..706b3215148248249563731da88ca5262cfee750 100644 --- a/include/management/actions/class_Action.inc +++ b/include/management/actions/class_Action.inc @@ -70,7 +70,7 @@ class Action * attribute:acl (ex: 'userPassword:r') * category/class/acl (ex: 'user/template/r') * category/class/attribute:acl (ex: 'user/user/userPassword:r') - * /class/acl (ex: '/snapshot/c') + * /class/acl (ex: '/SnapshotHandler/c') * /class/attribute:acl (ex: '/template/template_cn:w') * */ foreach ($acls as $acl) { @@ -262,7 +262,7 @@ class Action foreach ($types as $type) { $infos = objects::infos($type); if (!empty($acl['class'])) { - /* Class with empty category may be used in special cases like '/snapshot/c'*/ + /* Class with empty category may be used in special cases like '/SnapshotHandler/c'*/ $module = $infos['aclCategory'].'/'.$acl['class']; } elseif ($template) { $module = $infos['aclCategory'].'/template'; diff --git a/include/management/class_management.inc b/include/management/class_management.inc index 0e62eb456e7ebba03db60ce24cf2c605ec89d996..51631eb49df402d0f3f12e577592905407becb97 100644 --- a/include/management/class_management.inc +++ b/include/management/class_management.inc @@ -305,14 +305,14 @@ class management implements FusionDirectoryDialog new Action( 'snapshot', _('Create snapshot'), 'geticon.php?context=actions&icon=snapshot&size=16', '1', 'createSnapshotDialog', - ['/snapshot/c'] + ['/SnapshotHandler/c'] ) ); $this->registerAction( new Action( 'restore', _('Restore snapshot'), 'geticon.php?context=actions&icon=document-restore&size=16', '*', 'restoreSnapshotDialog', - ['w', '/snapshot/r'] + ['w', '/SnapshotHandler/r'] ) ); $this->actions['snapshot']->setSeparator(TRUE);