Skip to content

Commit

Permalink
reverts previous commit after core PR owncloud/core#19039
Browse files Browse the repository at this point in the history
  • Loading branch information
cosenal committed Sep 15, 2015
1 parent e98dd0c commit 3a66051
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions appinfo/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@
namespace OCA\MailShareNewsPlugin\AppInfo;


if (\OCP\App::isEnabled('news')) {

\OC_App::loadApp('news');

if (class_exists('OCA\News\Plugin\Client\Plugin')) {
if (\OCP\App::isEnabled('news')
&& class_exists('OCA\News\Plugin\Client\Plugin')) {

\OCA\News\Plugin\Client\Plugin::registerScript('mailsharenewsplugin',
'script');
\OCA\News\Plugin\Client\Plugin::registerStyle('mailsharenewsplugin',
'style');
}
\OCA\News\Plugin\Client\Plugin::registerScript('mailsharenewsplugin',
'script');
\OCA\News\Plugin\Client\Plugin::registerStyle('mailsharenewsplugin',
'style');
}

0 comments on commit 3a66051

Please sign in to comment.