Commit e28f7f8a authored by Georg Ehrke's avatar Georg Ehrke
Browse files

remove php and js previews

parent 51e6565a
...@@ -60,23 +60,3 @@ class TXT extends Provider { ...@@ -60,23 +60,3 @@ class TXT extends Provider {
} }
\OC\Preview::registerProvider('OC\Preview\TXT'); \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');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment