mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-14 20:40:59 +02:00
remove THEME_VERSION_REQUIRED
reduce potential freak agitation
This commit is contained in:
parent
2f76e8583d
commit
e3c394d391
@ -39,10 +39,10 @@
|
|||||||
* @return boolean True if defined successfully or not.
|
* @return boolean True if defined successfully or not.
|
||||||
*/
|
*/
|
||||||
function define_default($name, $value) {
|
function define_default($name, $value) {
|
||||||
// Note: performence freaks should define everything in
|
// Note: performence freaks should define everything in
|
||||||
// config.php becasue if will make defined() run much faster,
|
// config.php becasue if will make defined() run much faster,
|
||||||
// see comment by 'tris+php at tfconsulting dot com dot au'
|
// see comment by 'tris+php at tfconsulting dot com dot au'
|
||||||
// here:
|
// here:
|
||||||
// http://www.php.net/manual/en/function.defined.php#89886
|
// http://www.php.net/manual/en/function.defined.php#89886
|
||||||
defined($name) or define($name, $value);
|
defined($name) or define($name, $value);
|
||||||
}
|
}
|
||||||
@ -66,8 +66,6 @@
|
|||||||
define('SUBSTRING_FOR_DATE', 'SUBSTRING');
|
define('SUBSTRING_FOR_DATE', 'SUBSTRING');
|
||||||
}
|
}
|
||||||
|
|
||||||
define('THEME_VERSION_REQUIRED', 1.1);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return available translations names.
|
* Return available translations names.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user