diff options
Diffstat (limited to 'lib/private/app/platform.php')
-rw-r--r-- | lib/private/app/platform.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/app/platform.php b/lib/private/app/platform.php index da515a235a2..6279bb5f20c 100644 --- a/lib/private/app/platform.php +++ b/lib/private/app/platform.php @@ -62,4 +62,10 @@ class Platform { $path = \OC_Helper::findBinaryPath($command); return ($path !== null); } + + public function getLibraryVersion($name) { + $repo = new PlatformRepository(); + $lib = $repo->findLibrary($name); + return $lib; + } } |