mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
11 lines
171 B
PHP
11 lines
171 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Class BadClass - calling static methods on blacklisted classes is not allowed
|
||
|
|
*/
|
||
|
|
class BadClass {
|
||
|
|
public function foo() {
|
||
|
|
OC_App::isEnabled('bar');
|
||
|
|
}
|
||
|
|
}
|