mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #8703 from jchenevey/4.3
CustomMethods->removeMethodsFrom Warnings
This commit is contained in:
commit
544f9e13c1
@ -279,6 +279,10 @@ trait CustomMethods
|
||||
$methods = $this->findMethodsFromExtension($extension);
|
||||
if ($methods) {
|
||||
foreach ($methods as $method) {
|
||||
if (!isset(self::$extra_methods[$class][$method])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$methodInfo = self::$extra_methods[$class][$method];
|
||||
|
||||
if ($methodInfo['property'] === $property && $methodInfo['index'] === $index) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user