aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/preview/txt.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-10-11 11:43:26 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-10-11 11:43:26 +0200
commite28f7f8a33cb19fb483b5eaa8cae372baf5ee44a (patch)
tree752973c781306b5190c31e2e1e30e3ac679c58fd /lib/private/preview/txt.php
parent51e6565aab8e522e60fc2b6815c6f81697d136f9 (diff)
downloadnextcloud-server-e28f7f8a33cb19fb483b5eaa8cae372baf5ee44a.tar.gz
nextcloud-server-e28f7f8a33cb19fb483b5eaa8cae372baf5ee44a.zip
remove php and js previews
Diffstat (limited to 'lib/private/preview/txt.php')
-rw-r--r--lib/private/preview/txt.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/private/preview/txt.php b/lib/private/preview/txt.php
index 4c6048c6bac..e2d16d2ba11 100644
--- a/lib/private/preview/txt.php
+++ b/lib/private/preview/txt.php
@@ -60,23 +60,3 @@ class TXT extends Provider {
}
\OC\Preview::registerProvider('OC\Preview\TXT');
-
-class PHP extends TXT {
-
- public function getMimeType() {
- return '/application\/x-php/';
- }
-
-}
-
-\OC\Preview::registerProvider('OC\Preview\PHP');
-
-class JavaScript extends TXT {
-
- public function getMimeType() {
- return '/application\/javascript/';
- }
-
-}
-
-\OC\Preview::registerProvider('OC\Preview\JavaScript');