Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
merged share folders from horfic
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael de Hart committed Sep 5, 2014
1 parent 0309175 commit 4d6b8f3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
8 changes: 7 additions & 1 deletion appinfo/app.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<?php
require_once(dirname(__FILE__).'/../user_groupoffice.php');
require_once(dirname(__FILE__).'/../group_groupoffice.php');

$userBackend = new \OCA\groupoffice\User();
$groupBackend = new \OCA\groupoffice\Group();
OC_User::useBackend($userBackend);

$groupBackend = new \OCA\groupoffice\Group();
OC_Group::useBackend($groupBackend);

OC::$CLASSPATH['OC\Files\Storage\Groupoffice'] = 'groupoffice/lib/groupofficestorage.php';
OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Groupoffice', 'setup');
OCP\Util::connectHook('OC_Filesystem', 'post_initMountPoints', '\OC\Files\Storage\Groupoffice', 'setup');
11 changes: 8 additions & 3 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
<info>
<id>groupoffice</id>
<name>Group-Office integration</name>
<description>Use Group-Office users, groups and files. Group-Office must run on the same server.</description>
<description>Use Group-Office users, groups and files. Group-Office must run on the same server. Version 1.4.0 now shows ownFolder and all Shared Folders, a user has access to in Group-Office.</description>
<licence>AGPL</licence>
<author>Intermesh BV</author>
<require>4.93</require>
<author>Intermesh BV, ALLMENDA Social Business eG, web wack creations</author>
<require>6.0.4</require>
<version>1.5.0</version>
<shipped>false</shipped>
<types>
<filesystem/>
<authentication/>
</types>
<documentation>
<user>hhttps://www.group-office.com/wiki/OwnCloud</user>
</documentation>
</info>
2 changes: 1 addition & 1 deletion appinfo/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.5.0
8 changes: 4 additions & 4 deletions user_groupoffice.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ public function __construct() {
'user'=>array(
'all'=>array(
'/$user/files/Group-Office'=>array(
'class'=>"\\OC\\Files\\Storage\\Local",
'options'=>array(
'datadir'=>\GO::config()->file_storage_path.'users/$user'.$this->_groupoffice_mount
),
'class' => '\\OC\\Files\\Storage\\Groupoffice',
'options' => array(
'user' => '$user'
),
'priority'=>150
)
)
Expand Down

0 comments on commit 4d6b8f3

Please sign in to comment.