dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Drop index oi_name_archive_name on table oldimage"
[lhc/web/wiklou.git]
/
includes
/
libs
/
virtualrest
/
VirtualRESTService.php
diff --git
a/includes/libs/virtualrest/VirtualRESTService.php
b/includes/libs/virtualrest/VirtualRESTService.php
index
ccb14db
..
2f16078
100644
(file)
--- a/
includes/libs/virtualrest/VirtualRESTService.php
+++ b/
includes/libs/virtualrest/VirtualRESTService.php
@@
-51,8
+51,7
@@
abstract class VirtualRESTService {
* @return string The name of the service behind this VRS object.
*/
public function getName() {
* @return string The name of the service behind this VRS object.
*/
public function getName() {
- return isset( $this->params['name'] ) ? $this->params['name'] :
- get_class( $this );
+ return isset( $this->params['name'] ) ? $this->params['name'] : static::class;
}
/**
}
/**