User tests: Successful: Unsuccessful:
| Title |
|
||||||
| Title |
|
||||||
| Labels |
Added:
?
?
|
||||||
I think the best compromise is to just not require the JVersion here. Just use
return version_compare($this->getShortVersion(), $minimum, 'ge');
and we've removed the dependency on cms.php completely and to be honest why should we use a globally defined thing within the class that defines it :P
I agree with that. I think a lot more things can be improved about this class but maybe a different PR for that.
Whatever works.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-07-11 12:25:31 |
+1
Actually, looking at this class more closely... shouldn't all those public properties actually be class constants? Or at least, you know, not public? And do we even need a
JVERSIONconstant at all?