Fix phpdoc and comments

This commit is contained in:
Robin Appelman 2014-05-28 13:47:50 +02:00
parent 501f98f084
commit 42a362f249
4 changed files with 5 additions and 3 deletions

View File

@ -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 {
/**

View File

@ -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);

View File

@ -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

View File

@ -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;
}