summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 23:02:52 +0400
committerAndrew Dolgov <[email protected]>2013-04-02 23:02:52 +0400
commit0db61af84176a39cf1dfd90f62985d0728822b03 (patch)
tree65c7c3d9bc5c49191803ffc648457144b36f957e /include
parente3c394d391bace0370bb630c492051a790ca22e8 (diff)
api: add article api hook to getArticle, change parameters passed
Diffstat (limited to 'include')
-rw-r--r--include/functions.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php
index 6399ad5bb..d77cb199e 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -39,11 +39,6 @@
* @return boolean True if defined successfully or not.
*/
function define_default($name, $value) {
- // Note: performence freaks should define everything in
- // config.php becasue if will make defined() run much faster,
- // see comment by 'tris+php at tfconsulting dot com dot au'
- // here:
- // http://www.php.net/manual/en/function.defined.php#89886
defined($name) or define($name, $value);
}