aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-04 21:52:51 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-06-04 22:02:41 +0200
commit215aef3cbdc1963be1bb6bca5218ee0a4b7f1665 (patch)
tree0f0fdee6bef8d5f2a6ae5f83c8b4b06ddc090a1b /lib/private/legacy
parent46dbc8fa988176e4a431cafcbae6674fb613c899 (diff)
downloadnextcloud-server-215aef3cbdc1963be1bb6bca5218ee0a4b7f1665.tar.gz
nextcloud-server-215aef3cbdc1963be1bb6bca5218ee0a4b7f1665.zip
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_DB.php6
-rw-r--r--lib/private/legacy/OC_DB_StatementWrapper.php2
-rw-r--r--lib/private/legacy/OC_Defaults.php1
-rw-r--r--lib/private/legacy/OC_EventSource.php7
-rw-r--r--lib/private/legacy/OC_FileChunking.php2
-rw-r--r--lib/private/legacy/OC_Files.php2
-rw-r--r--lib/private/legacy/OC_Helper.php1
-rw-r--r--lib/private/legacy/OC_Hook.php4
-rw-r--r--lib/private/legacy/OC_Image.php1
-rw-r--r--lib/private/legacy/OC_JSON.php5
-rw-r--r--lib/private/legacy/OC_Response.php1
-rw-r--r--lib/private/legacy/OC_Template.php3
-rw-r--r--lib/private/legacy/OC_User.php1
-rw-r--r--lib/private/legacy/OC_Util.php4
-rw-r--r--lib/private/legacy/template/functions.php5
15 files changed, 5 insertions, 40 deletions
diff --git a/lib/private/legacy/OC_DB.php b/lib/private/legacy/OC_DB.php
index a3919fd1f17..1fbc233f535 100644
--- a/lib/private/legacy/OC_DB.php
+++ b/lib/private/legacy/OC_DB.php
@@ -3,7 +3,6 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Andreas Fischer <bantu@owncloud.com>
- * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bart Visscher <bartv@thisnet.nl>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
@@ -29,11 +28,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-/**
- * This class manages the access to the database. It basically is a wrapper for
- * Doctrine with some adaptions.
- */
class OC_DB {
/**
diff --git a/lib/private/legacy/OC_DB_StatementWrapper.php b/lib/private/legacy/OC_DB_StatementWrapper.php
index cc2320015a3..d8e8f0ae37f 100644
--- a/lib/private/legacy/OC_DB_StatementWrapper.php
+++ b/lib/private/legacy/OC_DB_StatementWrapper.php
@@ -2,7 +2,6 @@
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
- * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bart Visscher <bartv@thisnet.nl>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
@@ -27,7 +26,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use OCP\DB\IPreparedStatement;
/**
diff --git a/lib/private/legacy/OC_Defaults.php b/lib/private/legacy/OC_Defaults.php
index a9f588eb6e9..f3c1763b9ad 100644
--- a/lib/private/legacy/OC_Defaults.php
+++ b/lib/private/legacy/OC_Defaults.php
@@ -36,6 +36,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+
class OC_Defaults {
private $theme;
diff --git a/lib/private/legacy/OC_EventSource.php b/lib/private/legacy/OC_EventSource.php
index 2d29f3109cf..c733316050f 100644
--- a/lib/private/legacy/OC_EventSource.php
+++ b/lib/private/legacy/OC_EventSource.php
@@ -26,13 +26,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-/**
- * wrapper for server side events (https://en.wikipedia.org/wiki/Server-sent_events)
- * includes a fallback for older browsers and IE
- *
- * use server side events with caution, to many open requests can hang the server
- */
class OC_EventSource implements \OCP\IEventSource {
/**
* @var bool
diff --git a/lib/private/legacy/OC_FileChunking.php b/lib/private/legacy/OC_FileChunking.php
index 1c24f0d8067..e3782cabb4a 100644
--- a/lib/private/legacy/OC_FileChunking.php
+++ b/lib/private/legacy/OC_FileChunking.php
@@ -28,8 +28,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-
class OC_FileChunking {
protected $info;
protected $cache;
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index b46fc8c3768..d1af5b24bdd 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -21,6 +21,7 @@
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thibaut GRIDEL <tgridel@free.fr>
* @author Thomas Müller <thomas.mueller@tmit.eu>
+ * @author Valdnet <47037905+Valdnet@users.noreply.github.com>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
* @author Vincent Petry <vincent@nextcloud.com>
*
@@ -39,7 +40,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use bantu\IniGetWrapper\IniGetWrapper;
use OC\Files\View;
use OC\Streamer;
diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php
index 7193f9c4b70..52c49f1d795 100644
--- a/lib/private/legacy/OC_Helper.php
+++ b/lib/private/legacy/OC_Helper.php
@@ -43,7 +43,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use bantu\IniGetWrapper\IniGetWrapper;
use OCP\Files\Mount\IMountPoint;
use OCP\IUser;
diff --git a/lib/private/legacy/OC_Hook.php b/lib/private/legacy/OC_Hook.php
index cf0e9881e4c..d9e4c99e498 100644
--- a/lib/private/legacy/OC_Hook.php
+++ b/lib/private/legacy/OC_Hook.php
@@ -28,10 +28,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-/**
- * @deprecated 18.0.0 use events and the \OCP\EventDispatcher\IEventDispatcher service
- */
class OC_Hook {
public static $thrownExceptions = [];
diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php
index f1b9101045a..59d51773528 100644
--- a/lib/private/legacy/OC_Image.php
+++ b/lib/private/legacy/OC_Image.php
@@ -39,7 +39,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use OCP\IImage;
/**
diff --git a/lib/private/legacy/OC_JSON.php b/lib/private/legacy/OC_JSON.php
index 3094879af38..7734e29c545 100644
--- a/lib/private/legacy/OC_JSON.php
+++ b/lib/private/legacy/OC_JSON.php
@@ -27,11 +27,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-/**
- * Class OC_JSON
- * @deprecated Use a AppFramework JSONResponse instead
- */
class OC_JSON {
/**
diff --git a/lib/private/legacy/OC_Response.php b/lib/private/legacy/OC_Response.php
index f4c2356aecd..6cfd53d2651 100644
--- a/lib/private/legacy/OC_Response.php
+++ b/lib/private/legacy/OC_Response.php
@@ -27,7 +27,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
class OC_Response {
/**
* Sets the content disposition header (with possible workarounds)
diff --git a/lib/private/legacy/OC_Template.php b/lib/private/legacy/OC_Template.php
index 468f6acad44..b4bc290429a 100644
--- a/lib/private/legacy/OC_Template.php
+++ b/lib/private/legacy/OC_Template.php
@@ -10,7 +10,7 @@
* @author Jakob Sack <mail@jakobsack.de>
* @author Jan-Christoph Borchardt <hey@jancborchardt.net>
* @author Joas Schilling <coding@schilljs.com>
- * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Julius Härtl <jus@bitgrid.net>
* @author Lukas Reschke <lukas@statuscode.ch>
@@ -37,7 +37,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use OC\TemplateLayout;
use OCP\AppFramework\Http\TemplateResponse;
diff --git a/lib/private/legacy/OC_User.php b/lib/private/legacy/OC_User.php
index 3638a32589d..dd97fb63e33 100644
--- a/lib/private/legacy/OC_User.php
+++ b/lib/private/legacy/OC_User.php
@@ -35,7 +35,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use OCP\EventDispatcher\IEventDispatcher;
use OCP\ILogger;
use OCP\IUserManager;
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index 05ecd61b3a8..87964f98374 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -23,7 +23,7 @@
* @author Individual IT Services <info@individual-it.net>
* @author Jakob Sack <mail@jakobsack.de>
* @author Joas Schilling <coding@schilljs.com>
- * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
* @author Julius Härtl <jus@bitgrid.net>
* @author Kawohl <john@owncloud.com>
@@ -43,6 +43,7 @@
* @author Stefan Weil <sw@weilnetz.de>
* @author Thomas Müller <thomas.mueller@tmit.eu>
* @author Thomas Tanghus <thomas@tanghus.net>
+ * @author Valdnet <47037905+Valdnet@users.noreply.github.com>
* @author Victor Dubiniuk <dubiniuk@owncloud.com>
* @author Vincent Petry <vincent@nextcloud.com>
* @author Volkan Gezer <volkangezer@gmail.com>
@@ -62,7 +63,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
use bantu\IniGetWrapper\IniGetWrapper;
use OC\AppFramework\Http\Request;
use OC\Files\Storage\LocalRootStorage;
diff --git a/lib/private/legacy/template/functions.php b/lib/private/legacy/template/functions.php
index 4613e36f9f2..6b18c9476b4 100644
--- a/lib/private/legacy/template/functions.php
+++ b/lib/private/legacy/template/functions.php
@@ -31,11 +31,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-
-/**
- * Prints a sanitized string
- * @param string $string the string which will be escaped and printed
- */
function p($string) {
print(\OCP\Util::sanitizeHTML($string));
}