From fd2ca21fc24b6b73a6d75af2e7a7a226e5b186e9 Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Tue, 28 Aug 2012 09:51:00 -0400
Subject: [PATCH] Allow share_with column to be null for links

---
 db_structure.xml | 2 +-
 lib/util.php     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/db_structure.xml b/db_structure.xml
index 8c96fa7c39..e42dc894e8 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -479,7 +479,7 @@
     <name>share_with</name>
     <type>text</type>
     <default></default>
-    <notnull>true</notnull>
+    <notnull>false</notnull>
     <length>255</length>
    </field>
    
diff --git a/lib/util.php b/lib/util.php
index 0abdddcbf9..720f2cdeef 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -76,7 +76,7 @@ class OC_Util {
 	 */
 	public static function getVersion(){
 		// hint: We only can count up. So the internal version number of ownCloud 4.5 will be 4,9,0. This is not visible to the user
-		return array(4,83,4);
+		return array(4,83,5);
 	}
 
 	/**
-- 
GitLab