summaryrefslogtreecommitdiffstats
path: root/lib/installer.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-05-17 15:48:51 +0200
committerBart Visscher <bartv@thisnet.nl>2013-05-17 15:48:51 +0200
commit854da1d9ca19ded3bddbd79f4c70d630148bb916 (patch)
tree515507315e318cf96be48986ff371c01a1ba670a /lib/installer.php
parent2b84da9793342e63ddad6d6126a839430ea6b401 (diff)
downloadnextcloud-server-854da1d9ca19ded3bddbd79f4c70d630148bb916.tar.gz
nextcloud-server-854da1d9ca19ded3bddbd79f4c70d630148bb916.zip
Add classes replaced by the public api to the code checker
Diffstat (limited to 'lib/installer.php')
-rw-r--r--lib/installer.php22
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/installer.php b/lib/installer.php
index 49ba4492632..2229559208a 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -436,10 +436,28 @@ class OC_Installer{
$blacklist=array(
'exec(',
- 'eval('
+ 'eval(',
// more evil pattern will go here later
- // will will also check if an app is using private api once the public api is in place
+ // classes replaced by the public api
+ 'OC_API::',
+ 'OC_App::',
+ 'OC_AppConfig::',
+ 'OC_BackgroundJob::',
+ 'OC_Config::',
+ 'OC_DB::',
+ 'OC_Files::',
+ 'OC_Helper::',
+ 'OC_Hook::',
+ 'OC_JSON::',
+ 'OC_Log::',
+ 'OC_Mail::',
+ 'OC_Preferences::',
+ 'OC_Request::',
+ 'OC_Response::',
+ 'OC_Template::',
+ 'OC_User::',
+ 'OC_Util::',
);
// is the code checker enabled?