From c5b8a3eb94be7f7de948215cfdd24ee06690a07a Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sun, 15 Apr 2012 11:05:55 +0200
Subject: [PATCH] fix installing shipped apps

---
 lib/installer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/installer.php b/lib/installer.php
index 67947279e7..6edf4ce1b7 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -297,7 +297,7 @@ class OC_Installer{
 			include(OC::$APPSROOT."/apps/$app/appinfo/install.php");
 		}
 		$info=OC_App::getAppInfo($app);
-		OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion('version'));
+		OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app));
 		return $info;
 	}
 }
-- 
GitLab