Project

General

Profile

Actions

Feature #19674

closed

Add Hook to ClearCacheMenu

Added by Steffen Kamper almost 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-12-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

There is no way to manipulate/add Items to the ClearCache-menu.

This hook adds this possibility to remove or add items to any position.

(issue imported from #M9885)


Files

9885.diff (2.67 KB) 9885.diff Administrator Admin, 2008-12-03 21:47
9885_v2.diff (3.97 KB) 9885_v2.diff Administrator Admin, 2008-12-05 20:06
Actions #1

Updated by Steffen Kamper almost 16 years ago

something was missing. If there is an additional item it never will be
displayed if normal items doesn't have the Access setting.

So the function checkAccess() has to be changed to allow using own
settings. This happens with a simple Array with identifiers which is
passed in the hook as well, scheme of access identifier is used in
userTS with setting

options.clearCache.[identifier]

new patch is attached (v2)

Actions #2

Updated by Christian Kuhn almost 16 years ago

Steffen committed this one to trunk rev. 4714.

Actions

Also available in: Atom PDF