mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:35:56 +00:00
api: add article api hook to getArticle, change parameters passed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user