diff options
author | Adrian Lang <dokuwiki@adrianlang.de> | 2011-01-14 23:32:29 +0100 |
---|---|---|
committer | Adrian Lang <dokuwiki@adrianlang.de> | 2011-01-14 23:32:29 +0100 |
commit | bced4159c8c5f1b4da2e98b2242c2ec1c09ec74e (patch) | |
tree | 2d1da8c79d32f18b74b27ee7a148c49937ad9fdb /doku.php | |
parent | 731ae6527af8e2b8cdb211aecac260988e8379e9 (diff) | |
download | rpg-bced4159c8c5f1b4da2e98b2242c2ec1c09ec74e.tar.gz rpg-bced4159c8c5f1b4da2e98b2242c2ec1c09ec74e.tar.bz2 |
Deprecate $NS in doku.php
$NS is only used in lib/exe/{ajax,mediamanager}.php when no $ID context
is present. The two functions which use $NS in inc/template.php are only
called through those both endpoints, not through doku.php. In doku.php,
$ID is the only correct value, $NS is not kept synchronous with $ID.
Use getNS($ID) in functions which are called through doku.php.
Diffstat (limited to 'doku.php')
-rw-r--r-- | doku.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -30,7 +30,10 @@ $old = error_reporting(E_ALL ^ E_NOTICE); //import variables $QUERY = trim($_REQUEST['id']); $ID = getID(); + +// deprecated 2011-01-14 $NS = getNS($ID); + $REV = $_REQUEST['rev']; $IDX = $_REQUEST['idx']; $DATE = $_REQUEST['date']; |