Fix phpdoc and comments

remotes/origin/ldap_group_count
Robin Appelman 11 years ago
parent 501f98f084
commit 42a362f249
  1. 4
      apps/files_sharing/lib/sharedmount.php
  2. 1
      apps/files_sharing/lib/sharedstorage.php
  3. 2
      apps/files_sharing/tests/share.php
  4. 1
      lib/private/files/mount/mount.php

@ -1,6 +1,6 @@
<?php
/**
* Copyright (c) 2012 Robin Appelman <icewind@owncloud.com>
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
@ -14,7 +14,7 @@ use OC\Files\Mount\MoveableMount;
use OC\Files\Storage\Shared;
/**
* Person mount points can be moved by the user
* Shared mount points can be moved by the user
*/
class SharedMount extends Mount implements MoveableMount {
/**

@ -293,6 +293,7 @@ class Shared extends \OC\Files\Storage\Common {
$relPath1 = $this->getMountPoint() . '/' . $path1;
$relPath2 = $this->getMountPoint() . '/' . $path2;
// check for update permissions on the share
if ($this->isUpdatable('')) {
$pathinfo = pathinfo($relPath1);

@ -3,7 +3,7 @@
* ownCloud
*
* @author Bjoern Schiessle
* @copyright 2013 Bjoern Schiessle <schiessle@owncloud.com>
* @copyright 2014 Bjoern Schiessle <schiessle@owncloud.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE

@ -142,6 +142,7 @@ class Mount {
} else {
$internalPath = substr($path, strlen($this->mountPoint));
}
// substr returns false instead of an empty string, we always want a string
return (string)$internalPath;
}

Loading…
Cancel
Save