summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-05-26 15:38:30 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-05-26 15:38:30 +0200
commit6dccaaa6043b8927f758dddec76546dbb42b5903 (patch)
tree8c98644a15c49e11c25c1a58c066bcd63b3ea4d6
parenta0ef69bd869e1c5c6d9ddf3162a0cfc8570cabdd (diff)
beauty fixes
-rw-r--r--docs/plugins.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/plugins.rst b/docs/plugins.rst
index c255c162c..a93ee7c1d 100644
--- a/docs/plugins.rst
+++ b/docs/plugins.rst
@@ -15,7 +15,7 @@ In addition to the basic structure you also want to make sure that the News app
use \OCA\AppFramework\Core\API;
- if(\OCP\App::isEnabled('news') && \OCP\App::isEnabled('appframework')){
+ if (\OCP\App::isEnabled('news') && \OCP\App::isEnabled('appframework')) {
// your code here
@@ -81,7 +81,7 @@ To add a simple script create the script in the :file:`my_news_plugin/js/script.
use \OCA\AppFramework\Core\API;
- if(\OCP\App::isEnabled('news') && \OCP\App::isEnabled('appframework')){
+ if (\OCP\App::isEnabled('news') && \OCP\App::isEnabled('appframework')) {
$api = new API('my_news_plugin');
$api->addScript('script.js'); // add a script from js/script.js