From 99c8d7f21203dc68bb191d77e01c2f8a6f0cf5a0 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 18 Jan 2009 16:43:45 +0100 Subject: 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 --- inc/common.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/common.php') 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() -- cgit v1.2.3