diff options
author | michael <michael@content-space.de> | 2009-01-18 16:43:45 +0100 |
---|---|---|
committer | michael <michael@content-space.de> | 2009-01-18 16:43:45 +0100 |
commit | 99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0 (patch) | |
tree | 6797f3dac32455b4ac4ba5ad8ce3ac6a1cf91bd8 /inc/common.php | |
parent | 5dfff2790d523c9e0e0c1c4bcb8abd70675a213a (diff) | |
download | rpg-99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0.tar.gz rpg-99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0.tar.bz2 |
Media changelog added
There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions.
Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten.
darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index bb1c45baa..606f107b7 100644 --- a/inc/common.php +++ b/inc/common.php @@ -20,6 +20,7 @@ require_once(DOKU_INC.'inc/infoutils.php'); define('RECENTS_SKIP_DELETED',2); define('RECENTS_SKIP_MINORS',4); define('RECENTS_SKIP_SUBSPACES',8); +define('RECENTS_MEDIA_CHANGES',16); /** * Wrapper around htmlspecialchars() |