]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #14437 from owncloud/node-check-fileinfo
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 27 Feb 2015 10:56:13 +0000 (02:56 -0800)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 27 Feb 2015 10:56:13 +0000 (02:56 -0800)
Check if we have a proper fileinfo

1  2 
lib/private/files/node/node.php

index 536483fc89dd4d46ba833faaf7978d1661d2943a,2d46596a088ad6748677f16ffb551ccf35f62bd8..9446bff603eda0d9937221b4f5fe4a28bf279dae
@@@ -1,13 -1,32 +1,17 @@@
  <?php
  /**
 - * @author Bernhard Posselt <dev@bernhard-posselt.com>
 - * @author Joas Schilling <nickvergessen@gmx.de>
 - * @author Robin Appelman <icewind@owncloud.com>
 - * @author Vincent Petry <pvince81@owncloud.com>
 - *
 - * @copyright Copyright (c) 2015, ownCloud, Inc.
 - * @license AGPL-3.0
 - *
 - * This code is free software: you can redistribute it and/or modify
 - * it under the terms of the GNU Affero General Public License, version 3,
 - * as published by the Free Software Foundation.
 - *
 - * This program is distributed in the hope that it will be useful,
 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 - * GNU Affero General Public License for more details.
 - *
 - * You should have received a copy of the GNU Affero General Public License, version 3,
 - * along with this program.  If not, see <http://www.gnu.org/licenses/>
 - *
 + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
 + * This file is licensed under the Affero General Public License version 3 or
 + * later.
 + * See the COPYING-README file.
   */
 +
  namespace OC\Files\Node;
  
+ use OC\Files\Filesystem;
+ use OCP\Files\FileInfo;
+ use OCP\Files\InvalidPathException;
+ use OCP\Files\NotFoundException;
  use OCP\Files\NotPermittedException;
  
  class Node implements \OCP\Files\Node {