mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-24 00:05:24 +00:00
Use ::class for class name resolution
Available since php5.5 Change-Id: Ibb6c84372ac5b82099536fea304fcdefd3693f60
This commit is contained in:
parent
081da20959
commit
11ee994993
|
@ -43,5 +43,5 @@ class DisableOATHAuthForUser extends Maintenance {
|
|||
}
|
||||
}
|
||||
|
||||
$maintClass = "DisableOATHAuthForUser";
|
||||
$maintClass = DisableOATHAuthForUser::class;
|
||||
require_once RUN_MAINTENANCE_IF_MAIN;
|
||||
|
|
|
@ -47,5 +47,5 @@ class UpdateScratchTokenFormat extends Maintenance {
|
|||
}
|
||||
}
|
||||
|
||||
$maintClass = "UpdateScratchTokenFormat";
|
||||
$maintClass = UpdateScratchTokenFormat::class;
|
||||
require_once RUN_MAINTENANCE_IF_MAIN;
|
||||
|
|
Loading…
Reference in a new issue