summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e4d47e7)
Change-Id: If36bb3403f226b0399e37d2fd63b4338b1de10ae
$newForm = str_replace( '_', '\\', $class );
}
$newForm = str_replace( '_', '\\', $class );
}
- if ( class_exists( $newForm ) ) {
+ if ( class_exists( $newForm ) || interface_exists( $newForm ) ) {
// If the new class name exists, alias
// the old name to it.
class_alias( $newForm, $class );
// If the new class name exists, alias
// the old name to it.
class_alias( $newForm, $class );