diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
commit | 7e8500eea1e53b1de0e0f70400664afa442cd08d (patch) | |
tree | 4dd246a9b26f930fc7cbfef76116320dcbe77aaf /bin/gittool.php | |
parent | e3710957c6b7e12293805a15d0624be7c7054092 (diff) | |
download | rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.bz2 |
PHPDocs and some improvements
Diffstat (limited to 'bin/gittool.php')
-rwxr-xr-x | bin/gittool.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gittool.php b/bin/gittool.php index 7991a9997..cbadb5bfa 100755 --- a/bin/gittool.php +++ b/bin/gittool.php @@ -206,12 +206,13 @@ class GitToolCLI extends DokuCLI { * Install extension from the given download URL * * @param string $ext - * @return bool + * @return bool|null */ private function downloadExtension($ext) { /** @var helper_plugin_extension_extension $plugin */ $plugin = plugin_load('helper', 'extension_extension'); if(!$ext) die("extension plugin not available, can't continue"); + $plugin->setExtension($ext); $url = $plugin->getDownloadURL(); @@ -297,6 +298,7 @@ class GitToolCLI extends DokuCLI { /** @var helper_plugin_extension_extension $ext */ $ext = plugin_load('helper', 'extension_extension'); if(!$ext) die("extension plugin not available, can't continue"); + $ext->setExtension($extension); $repourl = $ext->getSourcerepoURL(); |