remove php and js previews

This commit is contained in:
Georg Ehrke 2013-10-11 11:43:26 +02:00
parent 51e6565aab
commit e28f7f8a33

View file

@ -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');