diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-31 08:17:48 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-31 08:17:48 +0000 |
| commit | feb4168e5a82b32e75683397c3f58ad452a1fdf2 (patch) | |
| tree | 0ece426d6031975ec5f4a4737c9b330c6a5efe24 | |
| parent | d349e0f27e8d5722460ff92a5ab81c39ae75aee9 (diff) | |
update deprecation notice, fixes #2493
Closes #2493
Merge request studip/studip!1678
45 files changed, 50 insertions, 43 deletions
diff --git a/app/controllers/api/authorizations.php b/app/controllers/api/authorizations.php index 52a29e1..543bc79 100644 --- a/app/controllers/api/authorizations.php +++ b/app/controllers/api/authorizations.php @@ -3,7 +3,7 @@ require_once 'lib/bootstrap-api.php'; /** -* @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. +* @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. **/ class Api_AuthorizationsController extends AuthenticatedController { diff --git a/app/controllers/api/oauth.php b/app/controllers/api/oauth.php index 22caab1..830f0b3 100644 --- a/app/controllers/api/oauth.php +++ b/app/controllers/api/oauth.php @@ -3,7 +3,7 @@ require_once 'lib/bootstrap-api.php'; /** - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. **/ class Api_OauthController extends StudipController { diff --git a/app/routes/Activity.php b/app/routes/Activity.php index d675784..fadca0f 100644 --- a/app/routes/Activity.php +++ b/app/routes/Activity.php @@ -5,7 +5,7 @@ namespace RESTAPI\Routes; * @author Till Glöggler <tgloeggl@uos.de> * @author André Klaßen <klassen@elan-ev.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition user_id ^[a-f0-9]{1,32}$ */ diff --git a/app/routes/Blubber.php b/app/routes/Blubber.php index 4fb6ab9..1445088 100644 --- a/app/routes/Blubber.php +++ b/app/routes/Blubber.php @@ -3,7 +3,7 @@ namespace RESTAPI\Routes; /** * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition course_id ^[a-f0-9]{1,32}$ * @condition stream_id ^(global|[a-f0-9]{1,32})$ diff --git a/app/routes/Clipboard.php b/app/routes/Clipboard.php index 2f630dc..dfe22e0 100644 --- a/app/routes/Clipboard.php +++ b/app/routes/Clipboard.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Clipboard extends \RESTAPI\RouteMap { diff --git a/app/routes/Contacts.php b/app/routes/Contacts.php index 898bc01..d7fd010 100644 --- a/app/routes/Contacts.php +++ b/app/routes/Contacts.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition user_id ^[a-f0-9]{1,32}$ * @condition friend_id ^[a-f0-9]{1,32}$ diff --git a/app/routes/Course.php b/app/routes/Course.php index bb2f32f..d1fad96 100644 --- a/app/routes/Course.php +++ b/app/routes/Course.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition course_id ^[a-f0-9]{1,32}$ * @condition user_id ^[a-f0-9]{1,32}$ diff --git a/app/routes/Discovery.php b/app/routes/Discovery.php index 1c84d58..c83f524 100644 --- a/app/routes/Discovery.php +++ b/app/routes/Discovery.php @@ -5,7 +5,7 @@ namespace RESTAPI\Routes; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Discovery extends \RESTAPI\RouteMap { diff --git a/app/routes/Events.php b/app/routes/Events.php index 0302826..c07c6e6 100644 --- a/app/routes/Events.php +++ b/app/routes/Events.php @@ -15,7 +15,7 @@ use CalendarWriterICalendar; * @author André Klaßen <andre.klassen@elan-ev.de> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition course_id ^[a-f0-9]{1,32}$ * @condition user_id ^[a-f0-9]{1,32}$ diff --git a/app/routes/Feedback.php b/app/routes/Feedback.php index 52bbac7..9a28347 100644 --- a/app/routes/Feedback.php +++ b/app/routes/Feedback.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author Nils Gehrke <nils.gehrke@uni-goettingen.de> - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition feedback_id ^\d*$ * @condition course_id ^[a-f0-9]{32}$ diff --git a/app/routes/FileSystem.php b/app/routes/FileSystem.php index 54e2851..9abd713 100644 --- a/app/routes/FileSystem.php +++ b/app/routes/FileSystem.php @@ -6,7 +6,7 @@ namespace RESTAPI\Routes; * * @author Moritz Strohm <strohm@data-quest.de> * @license GNU General Public License Version 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * Partially based upon the Files.php source code from Jan-Hendrik Willms * (tleilax+studip@gmail.com) and mluzena@uos.de which is also diff --git a/app/routes/Forum.php b/app/routes/Forum.php index d5fd341..35aad91 100644 --- a/app/routes/Forum.php +++ b/app/routes/Forum.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition course_id ^[a-f0-9]{1,32}$ */ diff --git a/app/routes/Messages.php b/app/routes/Messages.php index 07c5738..db9cb2e 100644 --- a/app/routes/Messages.php +++ b/app/routes/Messages.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition message_id ^[a-f0-9]{1,32}$ * @condition user_id ^[a-f0-9]{1,32}$ diff --git a/app/routes/News.php b/app/routes/News.php index 5f9ddc2..c9b258b 100644 --- a/app/routes/News.php +++ b/app/routes/News.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition news_id ^[0-9a-f]{1,32}$ * @condition course_id ^[0-9a-f]{1,32}$ diff --git a/app/routes/ResourceBooking.php b/app/routes/ResourceBooking.php index 77b1e84..a5d027f 100644 --- a/app/routes/ResourceBooking.php +++ b/app/routes/ResourceBooking.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ResourceBooking extends \RESTAPI\RouteMap { diff --git a/app/routes/ResourceCategories.php b/app/routes/ResourceCategories.php index 70ca770..bdd3d15 100644 --- a/app/routes/ResourceCategories.php +++ b/app/routes/ResourceCategories.php @@ -8,7 +8,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ResourceCategories extends \RESTAPI\RouteMap { diff --git a/app/routes/ResourcePermissions.php b/app/routes/ResourcePermissions.php index d69dcea..be5c647 100644 --- a/app/routes/ResourcePermissions.php +++ b/app/routes/ResourcePermissions.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ResourcePermissions extends \RESTAPI\RouteMap { diff --git a/app/routes/ResourceProperties.php b/app/routes/ResourceProperties.php index 8f00d0a..2ddbbaf 100644 --- a/app/routes/ResourceProperties.php +++ b/app/routes/ResourceProperties.php @@ -8,7 +8,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ResourceProperties extends \RESTAPI\RouteMap { diff --git a/app/routes/ResourceRequest.php b/app/routes/ResourceRequest.php index b3d235d..24dfd2e 100644 --- a/app/routes/ResourceRequest.php +++ b/app/routes/ResourceRequest.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ResourceRequest extends \RESTAPI\RouteMap { diff --git a/app/routes/Resources.php b/app/routes/Resources.php index b2113b1..53a9c08 100644 --- a/app/routes/Resources.php +++ b/app/routes/Resources.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Resources extends \RESTAPI\RouteMap { diff --git a/app/routes/RoomClipboard.php b/app/routes/RoomClipboard.php index cfb9f2e..ffcafe6 100644 --- a/app/routes/RoomClipboard.php +++ b/app/routes/RoomClipboard.php @@ -9,7 +9,7 @@ namespace RESTAPI\Routes; * @copyright 2017-2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @since 4.5 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class RoomClipboard extends \RESTAPI\RouteMap { diff --git a/app/routes/Schedule.php b/app/routes/Schedule.php index f394313..2341f73 100644 --- a/app/routes/Schedule.php +++ b/app/routes/Schedule.php @@ -5,7 +5,7 @@ namespace RESTAPI\Routes; * @author André Klaßen <andre.klassen@elan-ev.de> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition user_id ^[a-f0-9]{1,32}$ * @condition semester_id ^[a-f0-9]{1,32}$ diff --git a/app/routes/Semester.php b/app/routes/Semester.php index 401d7e7..8092282 100644 --- a/app/routes/Semester.php +++ b/app/routes/Semester.php @@ -5,7 +5,7 @@ namespace RESTAPI\Routes; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition semester_id ^[0-9a-f]{1,32}$ */ diff --git a/app/routes/Studip.php b/app/routes/Studip.php index ae94d05..749a53a 100644 --- a/app/routes/Studip.php +++ b/app/routes/Studip.php @@ -9,7 +9,7 @@ use SemType; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Studip extends \RESTAPI\RouteMap { diff --git a/app/routes/User.php b/app/routes/User.php index 89649fc..16de204 100644 --- a/app/routes/User.php +++ b/app/routes/User.php @@ -5,7 +5,7 @@ namespace RESTAPI\Routes; * @author André Klaßen <andre.klassen@elan-ev.de> * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition user_id ^[0-9a-f]{1,32}$ */ diff --git a/app/routes/UserConfig.php b/app/routes/UserConfig.php index 4ddd40b..ba01538 100644 --- a/app/routes/UserConfig.php +++ b/app/routes/UserConfig.php @@ -10,7 +10,7 @@ use RESTAPI\Router; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL2 or any later version * @since Stud.IP 3.4 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition user_id ^[0-9a-f]{1,32}$ * diff --git a/app/routes/Wiki.php b/app/routes/Wiki.php index 5a4a816..d70a37b 100644 --- a/app/routes/Wiki.php +++ b/app/routes/Wiki.php @@ -4,7 +4,7 @@ namespace RESTAPI\Routes; /** * @author <mlunzena@uos.de> * @license GPL 2 or later - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. * * @condition course_id ^[0-9a-f]{1,32}$ */ diff --git a/lib/bootstrap-api.php b/lib/bootstrap-api.php index 58756a8..ffa0b40 100644 --- a/lib/bootstrap-api.php +++ b/lib/bootstrap-api.php @@ -1,4 +1,8 @@ <?php +/** + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. + */ + namespace { StudipAutoloader::addAutoloadPath($GLOBALS['STUDIP_BASE_PATH'] . '/vendor/oauth-php/library'); diff --git a/lib/classes/restapi/ConsumerPermissions.php b/lib/classes/restapi/ConsumerPermissions.php index a62ec11..8fc2252 100644 --- a/lib/classes/restapi/ConsumerPermissions.php +++ b/lib/classes/restapi/ConsumerPermissions.php @@ -8,7 +8,7 @@ use DBManager, PDO; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class ConsumerPermissions { diff --git a/lib/classes/restapi/Response.php b/lib/classes/restapi/Response.php index 08a23d4..4417979 100644 --- a/lib/classes/restapi/Response.php +++ b/lib/classes/restapi/Response.php @@ -7,7 +7,7 @@ namespace RESTAPI; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Response implements \ArrayAccess { diff --git a/lib/classes/restapi/RouteMap.php b/lib/classes/restapi/RouteMap.php index 0670f56..717a41a 100644 --- a/lib/classes/restapi/RouteMap.php +++ b/lib/classes/restapi/RouteMap.php @@ -158,7 +158,7 @@ use gossi\docblock\Docblock; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ abstract class RouteMap { diff --git a/lib/classes/restapi/Router.php b/lib/classes/restapi/Router.php index 232e9fe..df7a6b9 100644 --- a/lib/classes/restapi/Router.php +++ b/lib/classes/restapi/Router.php @@ -40,7 +40,7 @@ use RESTAPI\Renderer\DefaultRenderer; * @license GPL 2 or later * @see Inspired by http://blog.sosedoff.com/2009/07/04/simpe-php-url-routing-controller/ * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Router { diff --git a/lib/classes/restapi/RouterException.php b/lib/classes/restapi/RouterException.php index 53fd362..1ce2afc 100644 --- a/lib/classes/restapi/RouterException.php +++ b/lib/classes/restapi/RouterException.php @@ -9,7 +9,7 @@ use \Exception; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class RouterException extends Exception { diff --git a/lib/classes/restapi/RouterHalt.php b/lib/classes/restapi/RouterHalt.php index 98c46b4..55a2ca1 100644 --- a/lib/classes/restapi/RouterHalt.php +++ b/lib/classes/restapi/RouterHalt.php @@ -5,7 +5,7 @@ namespace RESTAPI; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class RouterHalt extends \Exception { diff --git a/lib/classes/restapi/UriTemplate.php b/lib/classes/restapi/UriTemplate.php index bfdf23f..67161de 100644 --- a/lib/classes/restapi/UriTemplate.php +++ b/lib/classes/restapi/UriTemplate.php @@ -6,7 +6,7 @@ namespace RESTAPI; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class UriTemplate { diff --git a/lib/classes/restapi/UserPermissions.php b/lib/classes/restapi/UserPermissions.php index af5bc36..dcf1601 100644 --- a/lib/classes/restapi/UserPermissions.php +++ b/lib/classes/restapi/UserPermissions.php @@ -8,7 +8,7 @@ use DBManager, PDO; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 2.6 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class UserPermissions { diff --git a/lib/classes/restapi/consumer/Base.php b/lib/classes/restapi/consumer/Base.php index efb5b79..6272091 100644 --- a/lib/classes/restapi/consumer/Base.php +++ b/lib/classes/restapi/consumer/Base.php @@ -15,7 +15,7 @@ use PDO; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ abstract class Base extends \SimpleORMap { diff --git a/lib/classes/restapi/consumer/HTTP.php b/lib/classes/restapi/consumer/HTTP.php index b4a2239..97b0657 100644 --- a/lib/classes/restapi/consumer/HTTP.php +++ b/lib/classes/restapi/consumer/HTTP.php @@ -8,7 +8,7 @@ use StudipAuthAbstract, RESTAPI\RouterException; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class HTTP extends Base { diff --git a/lib/classes/restapi/consumer/OAuth.php b/lib/classes/restapi/consumer/OAuth.php index f5d87ec..caf51c2 100644 --- a/lib/classes/restapi/consumer/OAuth.php +++ b/lib/classes/restapi/consumer/OAuth.php @@ -11,7 +11,7 @@ StudipAutoloader::addAutoloadPath($GLOBALS['STUDIP_BASE_PATH'] . DIRECTORY_SEPAR * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class OAuth extends Base { diff --git a/lib/classes/restapi/consumer/Studip.php b/lib/classes/restapi/consumer/Studip.php index 46f8ad9..738dd75 100644 --- a/lib/classes/restapi/consumer/Studip.php +++ b/lib/classes/restapi/consumer/Studip.php @@ -7,7 +7,7 @@ namespace RESTAPI\Consumer; * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class Studip extends Base { diff --git a/lib/classes/restapi/renderer/DebugRenderer.php b/lib/classes/restapi/renderer/DebugRenderer.php index c9a9486..afd56f6 100644 --- a/lib/classes/restapi/renderer/DebugRenderer.php +++ b/lib/classes/restapi/renderer/DebugRenderer.php @@ -8,7 +8,7 @@ namespace RESTAPI\Renderer; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class DebugRenderer extends DefaultRenderer { diff --git a/lib/classes/restapi/renderer/DefaultRenderer.php b/lib/classes/restapi/renderer/DefaultRenderer.php index b7e5ff5..836ba36 100644 --- a/lib/classes/restapi/renderer/DefaultRenderer.php +++ b/lib/classes/restapi/renderer/DefaultRenderer.php @@ -13,7 +13,7 @@ namespace RESTAPI\Renderer; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class DefaultRenderer { diff --git a/lib/classes/restapi/renderer/JSONRenderer.php b/lib/classes/restapi/renderer/JSONRenderer.php index 040f2b7..9c6e449 100644 --- a/lib/classes/restapi/renderer/JSONRenderer.php +++ b/lib/classes/restapi/renderer/JSONRenderer.php @@ -8,7 +8,7 @@ namespace RESTAPI\Renderer; * @author <mlunzena@uos.de> * @license GPL 2 or later * @since Stud.IP 3.0 - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ class JSONRenderer extends DefaultRenderer { diff --git a/lib/plugins/core/RESTAPIPlugin.class.php b/lib/plugins/core/RESTAPIPlugin.class.php index d395dea..f69344c 100644 --- a/lib/plugins/core/RESTAPIPlugin.class.php +++ b/lib/plugins/core/RESTAPIPlugin.class.php @@ -10,6 +10,9 @@ * the License, or (at your option) any later version. */ +/** + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. + */ interface RESTAPIPlugin { /** diff --git a/public/api.php b/public/api.php index 762c140..b2d30fa 100644 --- a/public/api.php +++ b/public/api.php @@ -14,7 +14,7 @@ * zurück, dass dann anschließende ausgegeben wird, d.h. die Header * werden gesendet und dann das Ergebnis ausgegeben oder gestreamt. * - * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 5.2. + * @deprecated Since Stud.IP 5.0. Will be removed in Stud.IP 6.0. */ |
