Set ULS_VERSION when using extension registration
This unbreaks Translate and CleanChanges who depend on the constant. Change-Id: I8bfb9e2aaeb77351beefb130f71daeee4e07afae
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
*/
|
||||
|
||||
class UniversalLanguageSelectorHooks {
|
||||
// Used when extension registration in use which skips the main php file
|
||||
public static function setVersionConstant() {
|
||||
define( 'ULS_VERSION', '2015-06-08' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether ULS user toolbar (language selection and settings) is enabled.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user