diff options
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/appconfig.php | 35 | ||||
-rw-r--r-- | lib/private/legacy/config.php | 33 | ||||
-rw-r--r-- | lib/private/legacy/log.php | 29 | ||||
-rw-r--r-- | lib/private/legacy/search.php | 30 | ||||
-rw-r--r-- | lib/private/legacy/search/provider.php | 29 | ||||
-rw-r--r-- | lib/private/legacy/search/provider/file.php | 27 | ||||
-rw-r--r-- | lib/private/legacy/search/result.php | 27 |
7 files changed, 106 insertions, 104 deletions
diff --git a/lib/private/legacy/appconfig.php b/lib/private/legacy/appconfig.php index 699b87edc4c..68f63974e85 100644 --- a/lib/private/legacy/appconfig.php +++ b/lib/private/legacy/appconfig.php @@ -1,27 +1,32 @@ <?php /** - * @author Bart Visscher <bartv@thisnet.nl> - * @author Morris Jobke <hey@morrisjobke.de> - * @author Robin Appelman <icewind@owncloud.com> - * @author Robin McCorkell <rmccorkell@karoshi.org.uk> - * @author Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * @author Frank Karlitschek + * @author Jakob Sack + * @copyright 2012 Frank Karlitschek frank@owncloud.org * - * 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 library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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. + * 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/> + * You should have received a copy of the GNU Affero General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ + +/** + * This class provides an easy way for apps to store config values in the + * database. + * + * @deprecated use \OC::$server->getAppConfig() to get an \OCP\IAppConfig instance + */ class OC_Appconfig { /** * @return \OCP\IAppConfig diff --git a/lib/private/legacy/config.php b/lib/private/legacy/config.php index 027a123f4d6..64d01434b11 100644 --- a/lib/private/legacy/config.php +++ b/lib/private/legacy/config.php @@ -1,28 +1,21 @@ <?php /** - * @author Bart Visscher <bartv@thisnet.nl> - * @author Joas Schilling <nickvergessen@gmx.de> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> - * @author Lukas Reschke <lukas@owncloud.com> - * @author Michael Gapczynski <gapczynskim@gmail.com> - * @author Morris Jobke <hey@morrisjobke.de> - * @author Robin McCorkell <rmccorkell@karoshi.org.uk> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * @author Frank Karlitschek + * @author Jakob Sack + * @copyright 2012 Frank Karlitschek frank@owncloud.org * - * 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/> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +/** + * This class is responsible for reading and writing config.php, the very basic + * configuration file of ownCloud. * + * @deprecated use \OC::$server->getConfig() to get an \OCP\Config instance */ class OC_Config { diff --git a/lib/private/legacy/log.php b/lib/private/legacy/log.php index 7f058305e14..99c9254e90f 100644 --- a/lib/private/legacy/log.php +++ b/lib/private/legacy/log.php @@ -1,25 +1,18 @@ <?php /** - * @author Bart Visscher <bartv@thisnet.nl> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> - * @author Thomas Müller <thomas.mueller@tmit.eu> - * - * @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) 2012 Bart Visscher <bartv@thisnet.nl> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +/** + * logging utilities * + * Log is saved by default at data/owncloud.log using OC_Log_Owncloud. + * Selecting other backend is done with a config option 'log_type'. */ + OC_Log::$object = new \OC\Log(); /** * @deprecated use \OC::$server->getLogger() to get an \OCP\ILogger instance diff --git a/lib/private/legacy/search.php b/lib/private/legacy/search.php index f7a640b20da..19aba2a8b8c 100644 --- a/lib/private/legacy/search.php +++ b/lib/private/legacy/search.php @@ -1,24 +1,30 @@ <?php /** - * @author Andrew Brown <andrew@casabrown.com> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * @author Frank Karlitschek + * @copyright 2012 Frank Karlitschek frank@owncloud.org * - * 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 library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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. + * 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/> + * You should have received a copy of the GNU Affero General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ + +/** + * provides an interface to all search providers + * + * @deprecated use \OCP\ISearch / \OC\Search instead + */ class OC_Search { /** * @return \OCP\ISearch diff --git a/lib/private/legacy/search/provider.php b/lib/private/legacy/search/provider.php index 12498001241..b183caf5511 100644 --- a/lib/private/legacy/search/provider.php +++ b/lib/private/legacy/search/provider.php @@ -1,23 +1,26 @@ <?php /** - * @author Andrew Brown <andrew@casabrown.com> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. * - * 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, + * This library 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. + * 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 along with this library. If not, see <http://www.gnu.org/licenses/>. * - * 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/> + */ + +/** + * Class OC_Search_Provider * + * @deprecated use \OCP\Search\Provider instead */ abstract class OC_Search_Provider extends \OCP\Search\Provider { diff --git a/lib/private/legacy/search/provider/file.php b/lib/private/legacy/search/provider/file.php index fddfd69234a..079ce85bf54 100644 --- a/lib/private/legacy/search/provider/file.php +++ b/lib/private/legacy/search/provider/file.php @@ -1,24 +1,25 @@ <?php /** - * @author Andrew Brown <andrew@casabrown.com> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. * - * 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, + * This library 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. + * 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/> + * You should have received a copy of the GNU Affero General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ + +/** + * @deprecated use \OC\Search\Provider\File instead + */ class OC_Search_Provider_File extends \OC\Search\Provider\File { } diff --git a/lib/private/legacy/search/result.php b/lib/private/legacy/search/result.php index 13867e6059f..d5aa3391dc8 100644 --- a/lib/private/legacy/search/result.php +++ b/lib/private/legacy/search/result.php @@ -1,24 +1,25 @@ <?php /** - * @author Andrew Brown <andrew@casabrown.com> - * @author Jörn Friedrich Dreyer <jfd@butonic.de> + * ownCloud * - * @copyright Copyright (c) 2015, ownCloud, Inc. - * @license AGPL-3.0 + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE + * License as published by the Free Software Foundation; either + * version 3 of the License, or any later version. * - * 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, + * This library 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. + * 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/> + * You should have received a copy of the GNU Affero General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ + +/** + * @deprecated use \OCP\Search\Result instead + */ class OC_Search_Result extends \OCP\Search\Result { /** * Create a new search result |