aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-06-21 09:29:24 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-06-21 09:29:24 +0000
commitb1f13ce8299d581ccb889e2d98e13574bffcc5ba (patch)
tree644385d6fea33f831a714fc3783f8161a2cb1d86
parent7635e34c038e86e2b369b3f6edc457042ffa5b66 (diff)
add remaining class filename and add migration to fix the cronjobs, re #4282
Merge request studip/studip!3136
-rw-r--r--app/controllers/loncapa.php4
-rw-r--r--app/controllers/quicksearch.php2
-rw-r--r--cli/Commands/CleanupAdmissionRules.php2
-rw-r--r--cli/Commands/Plugins/PluginInfo.php4
-rw-r--r--composer.json1
-rw-r--r--config/config_develop.inc.php2
-rw-r--r--db/migrations/1.128_step00240_coursesets.php2
-rw-r--r--db/migrations/1.12_step_120_userpic.php2
-rw-r--r--db/migrations/6.0.11_adjust_cronjobs.php43
-rw-r--r--lib/admissionrules/conditionaladmission/ConditionalAdmission.php2
-rw-r--r--lib/admissionrules/coursememberadmission/CourseMemberAdmission.php2
-rw-r--r--lib/admissionrules/limitedadmission/LimitedAdmission.php2
-rw-r--r--lib/admissionrules/lockedadmission/LockedAdmission.php2
-rw-r--r--lib/admissionrules/participantrestrictedadmission/ParticipantRestrictedAdmission.php2
-rw-r--r--lib/admissionrules/passwordadmission/PasswordAdmission.php2
-rw-r--r--lib/admissionrules/preferentialadmission/PreferentialAdmission.php2
-rw-r--r--lib/admissionrules/termsadmission/TermsAdmission.php2
-rw-r--r--lib/admissionrules/timedadmission/TimedAdmission.php2
-rw-r--r--lib/calendar/CalendarColumn.php2
-rw-r--r--lib/calendar/CalendarView.php2
-rw-r--r--lib/calendar/CalendarWeekView.php2
-rw-r--r--lib/classes/ActionMenu.php2
-rw-r--r--lib/classes/Assets.php2
-rw-r--r--lib/classes/AuthorObject.php5
-rw-r--r--lib/classes/AutoInsert.php2
-rw-r--r--lib/classes/Color.php4
-rw-r--r--lib/classes/Config.php2
-rw-r--r--lib/classes/CourseConfig.php2
-rw-r--r--lib/classes/CronJob.php2
-rw-r--r--lib/classes/CronjobScheduler.php2
-rw-r--r--lib/classes/DataFieldEntry.php2
-rw-r--r--lib/classes/DatabaseObject.php4
-rw-r--r--lib/classes/DateFormatter.php2
-rw-r--r--lib/classes/DbSnapshot.php2
-rw-r--r--lib/classes/DbView.php2
-rw-r--r--lib/classes/InstituteCalendarHelper.php2
-rw-r--r--lib/classes/InstituteConfig.php2
-rw-r--r--lib/classes/LockRules.php4
-rw-r--r--lib/classes/MVV.php2
-rw-r--r--lib/classes/Markup.php2
-rw-r--r--lib/classes/MessageBox.php2
-rw-r--r--lib/classes/ModulesNotification.php4
-rw-r--r--lib/classes/MultiPersonSearch.php4
-rw-r--r--lib/classes/MvvQuickSearch.php2
-rw-r--r--lib/classes/NotificationCenter.php2
-rw-r--r--lib/classes/QuickSearch.php6
-rw-r--r--lib/classes/RangeConfig.php2
-rw-r--r--lib/classes/RangeTreeObject.php2
-rw-r--r--lib/classes/RangeTreeObjectFak.php2
-rw-r--r--lib/classes/RangeTreeObjectInst.php2
-rw-r--r--lib/classes/Score.php2
-rw-r--r--lib/classes/Seminar.php2
-rw-r--r--lib/classes/SeminarCategories.php4
-rw-r--r--lib/classes/SessionDecoder.php4
-rw-r--r--lib/classes/SimpleCollection.php2
-rw-r--r--lib/classes/SimpleORMap.php2
-rw-r--r--lib/classes/SimpleORMapCollection.php2
-rw-r--r--lib/classes/StudipAutoloader.php2
-rw-r--r--lib/classes/StudipForm.php2
-rw-r--r--lib/classes/StudipLock.php2
-rw-r--r--lib/classes/StudipMail.php2
-rw-r--r--lib/classes/StudipObject.php4
-rw-r--r--lib/classes/StudipPDO.php2
-rw-r--r--lib/classes/StudipRangeTree.php2
-rw-r--r--lib/classes/StudipRangeTreeView.php2
-rw-r--r--lib/classes/StudipRangeTreeViewAdmin.php2
-rw-r--r--lib/classes/StudipSemRangeTreeViewSimple.php2
-rw-r--r--lib/classes/StudipSemSearch.php2
-rw-r--r--lib/classes/StudipSemSearchHelper.php2
-rw-r--r--lib/classes/StudipSemTreeSearch.php2
-rw-r--r--lib/classes/StudipSemTreeView.php2
-rw-r--r--lib/classes/StudipSemTreeViewAdmin.php2
-rw-r--r--lib/classes/StudipSemTreeViewSimple.php2
-rw-r--r--lib/classes/TreeAbstract.php2
-rw-r--r--lib/classes/TreeView.php8
-rw-r--r--lib/classes/UserConfig.php2
-rw-r--r--lib/classes/UserLookup.php2
-rw-r--r--lib/classes/UserManagement.php4
-rw-r--r--lib/classes/admission/AdmissionAlgorithm.php4
-rw-r--r--lib/classes/admission/AdmissionPriority.php2
-rw-r--r--lib/classes/admission/AdmissionRule.php2
-rw-r--r--lib/classes/admission/AdmissionUserList.php2
-rw-r--r--lib/classes/admission/CourseSet.php2
-rw-r--r--lib/classes/admission/RandomAlgorithm.php2
-rw-r--r--lib/classes/admission/UserFilter.php2
-rw-r--r--lib/classes/admission/UserFilterField.php7
-rw-r--r--lib/classes/admission/userfilter/DatafieldCondition.php2
-rw-r--r--lib/classes/admission/userfilter/DegreeCondition.php2
-rw-r--r--lib/classes/admission/userfilter/PermissionCondition.php2
-rw-r--r--lib/classes/admission/userfilter/SemesterOfStudyCondition.php2
-rw-r--r--lib/classes/admission/userfilter/StgteilVersionCondition.php2
-rw-r--r--lib/classes/admission/userfilter/SubjectCondition.php2
-rw-r--r--lib/classes/admission/userfilter/SubjectConditionAny.php4
-rw-r--r--lib/classes/auth_plugins/StudipAuthAbstract.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthIP.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthLTI.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthLdap.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthLdapReadAndBind.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthOIDC.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthSSO.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthShib.php2
-rw-r--r--lib/classes/auth_plugins/StudipAuthStandard.php2
-rw-r--r--lib/classes/cache/Exception.php2
-rw-r--r--lib/classes/cache/InvalidCacheArgumentException.php2
-rw-r--r--lib/classes/cache/Item.php2
-rw-r--r--lib/classes/calendar/ICalendarExport.php2
-rw-r--r--lib/classes/coursewizardsteps/LVGroupsWizardStep.php2
-rw-r--r--lib/classes/exportdocument/ExportPDF.php2
-rw-r--r--lib/classes/searchtypes/MyCoursesSearch.php2
-rw-r--r--lib/classes/searchtypes/PermissionSearch.php2
-rw-r--r--lib/classes/searchtypes/ResourceSearch.php2
-rw-r--r--lib/classes/searchtypes/RoomSearch.php2
-rw-r--r--lib/classes/searchtypes/SQLSearch.php4
-rw-r--r--lib/classes/searchtypes/SearchType.php3
-rw-r--r--lib/classes/searchtypes/SeminarSearch.php2
-rw-r--r--lib/classes/searchtypes/StandardSearch.php4
-rw-r--r--lib/classes/searchtypes/TreeSearch.php2
-rw-r--r--lib/cronjobs/check_admission.php4
-rw-r--r--lib/cronjobs/cleanup_log.php4
-rw-r--r--lib/cronjobs/garbage_collector.php4
-rw-r--r--lib/cronjobs/purge_cache.php8
-rw-r--r--lib/cronjobs/remind_oer_upload.php4
-rw-r--r--lib/cronjobs/send_mail_queue.php2
-rw-r--r--lib/cronjobs/session_gc.php2
-rw-r--r--lib/dbviews/range_tree.view.php2
-rw-r--r--lib/dbviews/sem_tree.view.php2
-rw-r--r--lib/elearning/ConnectedCMS.php20
-rw-r--r--lib/elearning/ELearningUtils.php2
-rw-r--r--lib/elearning/Ilias3ConnectedCMS.php2
-rw-r--r--lib/elearning/PmWikiConnectedCMS.php2
-rw-r--r--lib/elearning/PmWikiConnectedLink.php2
-rw-r--r--lib/elearning/PmWikiContentModule.php2
-rw-r--r--lib/exceptions/ClipboardException.php2
-rw-r--r--lib/exceptions/StudipException.php2
-rw-r--r--lib/exceptions/resources/GlobalResourceLockException.php2
-rw-r--r--lib/exceptions/resources/GlobalResourceLockOverlapException.php2
-rw-r--r--lib/exceptions/resources/InvalidResourceCategoryException.php2
-rw-r--r--lib/exceptions/resources/InvalidResourceClassException.php2
-rw-r--r--lib/exceptions/resources/InvalidResourceException.php2
-rw-r--r--lib/exceptions/resources/InvalidResourceRequestException.php2
-rw-r--r--lib/exceptions/resources/ResourceBookingException.php2
-rw-r--r--lib/exceptions/resources/ResourceBookingOverlapException.php2
-rw-r--r--lib/exceptions/resources/ResourceBookingRangeException.php2
-rw-r--r--lib/exceptions/resources/ResourceException.php2
-rw-r--r--lib/exceptions/resources/ResourceNoTimeRangeException.php2
-rw-r--r--lib/exceptions/resources/ResourcePermissionException.php2
-rw-r--r--lib/exceptions/resources/ResourcePropertyDefinitionException.php2
-rw-r--r--lib/exceptions/resources/ResourcePropertyException.php2
-rw-r--r--lib/exceptions/resources/ResourcePropertyStateException.php2
-rw-r--r--lib/exceptions/resources/ResourceRequestException.php2
-rw-r--r--lib/exceptions/resources/ResourceUnavailableException.php2
-rw-r--r--lib/exceptions/resources/ResourceUnlockableException.php2
-rw-r--r--lib/exceptions/resources/SeparableRoomException.php2
-rw-r--r--lib/filesystem/FileArchiveManager.php2
-rw-r--r--lib/filesystem/HomeworkFolder.php2
-rw-r--r--lib/filesystem/InboxFolder.php2
-rw-r--r--lib/filesystem/InboxOutboxFolder.php2
-rw-r--r--lib/filesystem/MessageFolder.php2
-rw-r--r--lib/filesystem/OutboxFolder.php2
-rw-r--r--lib/models/AdmissionApplication.php2
-rw-r--r--lib/models/ArchivedCourse.php2
-rw-r--r--lib/models/ArchivedCourseMember.php2
-rw-r--r--lib/models/AuthUserMd5.php2
-rw-r--r--lib/models/BannerRoles.php2
-rw-r--r--lib/models/Clipboard.php2
-rw-r--r--lib/models/ClipboardItem.php2
-rw-r--r--lib/models/ColourValue.php2
-rw-r--r--lib/models/ConfigEntry.php2
-rw-r--r--lib/models/Contact.php2
-rw-r--r--lib/models/ContentTermsOfUse.php2
-rw-r--r--lib/models/Course.php2
-rw-r--r--lib/models/CourseMember.php2
-rw-r--r--lib/models/CourseMemberNotification.php2
-rw-r--r--lib/models/Courseware/BlockTypes/Text.php2
-rw-r--r--lib/models/CronjobLog.php2
-rw-r--r--lib/models/CronjobSchedule.php2
-rw-r--r--lib/models/CronjobTask.php2
-rw-r--r--lib/models/Degree.php2
-rw-r--r--lib/models/Deputy.php2
-rw-r--r--lib/models/HelpContent.php2
-rw-r--r--lib/models/HelpTour.php2
-rw-r--r--lib/models/HelpTourAudience.php2
-rw-r--r--lib/models/HelpTourSettings.php2
-rw-r--r--lib/models/HelpTourStep.php3
-rw-r--r--lib/models/HelpTourUser.php2
-rw-r--r--lib/models/Institute.php2
-rw-r--r--lib/models/LockRule.php2
-rw-r--r--lib/models/LoginBackground.php2
-rw-r--r--lib/models/LoginFaq.php2
-rw-r--r--lib/models/Message.php2
-rw-r--r--lib/models/MessageUser.php2
-rw-r--r--lib/models/MvvOverlappingConflict.php2
-rw-r--r--lib/models/MvvOverlappingExclude.php3
-rw-r--r--lib/models/MvvOverlappingSelection.php2
-rw-r--r--lib/models/NewsRange.php2
-rw-r--r--lib/models/NewsRoles.php2
-rw-r--r--lib/models/Semester.php2
-rw-r--r--lib/models/SemesterCourse.php2
-rw-r--r--lib/models/SemesterHoliday.php2
-rw-r--r--lib/models/SeminarCycleDate.php2
-rw-r--r--lib/models/StudipComment.php2
-rw-r--r--lib/models/StudipNews.php2
-rw-r--r--lib/models/StudipScmEntry.php2
-rw-r--r--lib/models/StudyCourse.php2
-rw-r--r--lib/models/ToolActivation.php2
-rw-r--r--lib/models/User.php4
-rw-r--r--lib/models/UserInfo.php2
-rw-r--r--lib/models/UserOnline.php4
-rw-r--r--lib/models/UserStudyCourse.php2
-rw-r--r--lib/models/WebserviceAccessRule.php2
-rw-r--r--lib/models/WikiPage.php2
-rw-r--r--lib/models/calendar/CalendarDate.php2
-rw-r--r--lib/models/calendar/CalendarDateAssignment.php2
-rw-r--r--lib/models/resources/BrokenResource.php2
-rw-r--r--lib/models/resources/Building.php2
-rw-r--r--lib/models/resources/GlobalResourceLock.php2
-rw-r--r--lib/models/resources/Location.php2
-rw-r--r--lib/models/resources/Resource.php2
-rw-r--r--lib/models/resources/ResourceBooking.php2
-rw-r--r--lib/models/resources/ResourceBookingInterval.php2
-rw-r--r--lib/models/resources/ResourceCategory.php2
-rw-r--r--lib/models/resources/ResourceCategoryProperty.php2
-rw-r--r--lib/models/resources/ResourceLabel.php2
-rw-r--r--lib/models/resources/ResourcePermission.php2
-rw-r--r--lib/models/resources/ResourceProperty.php2
-rw-r--r--lib/models/resources/ResourcePropertyDefinition.php2
-rw-r--r--lib/models/resources/ResourcePropertyGroup.php2
-rw-r--r--lib/models/resources/ResourceRequest.php2
-rw-r--r--lib/models/resources/ResourceRequestAppointment.php2
-rw-r--r--lib/models/resources/ResourceRequestProperty.php2
-rw-r--r--lib/models/resources/ResourceTemporaryPermission.php2
-rw-r--r--lib/models/resources/Room.php2
-rw-r--r--lib/models/resources/RoomRequest.php2
-rw-r--r--lib/models/resources/SeparableRoom.php2
-rw-r--r--lib/models/resources/SeparableRoomPart.php2
-rw-r--r--lib/modules/CoreForum.php2
-rw-r--r--lib/modules/FeedbackModule.php2
-rw-r--r--lib/modules/GradebookModule.php2
-rw-r--r--lib/modules/LtiToolModule.php2
-rw-r--r--lib/object.inc.php4
-rw-r--r--lib/phplib/Seminar_Auth.php2
-rw-r--r--lib/phplib/Seminar_Default_Auth.php4
-rw-r--r--lib/phplib/Seminar_Perm.php2
-rw-r--r--lib/phplib/Seminar_Register_Auth.php2
-rw-r--r--lib/phplib/Seminar_User.php2
-rw-r--r--lib/plugins/core/AdministrationPlugin.php2
-rw-r--r--lib/plugins/core/CorePlugin.php2
-rw-r--r--lib/plugins/core/DetailspagePlugin.php2
-rw-r--r--lib/plugins/core/ForumModule.php4
-rw-r--r--lib/plugins/core/HomepagePlugin.php2
-rw-r--r--lib/plugins/core/LibraryPlugin.php2
-rw-r--r--lib/plugins/core/PortalPlugin.php2
-rw-r--r--lib/plugins/core/Role.php2
-rw-r--r--lib/plugins/core/StandardPlugin.php2
-rw-r--r--lib/plugins/core/StudIPPlugin.php2
-rw-r--r--lib/plugins/core/SystemPlugin.php2
-rw-r--r--lib/plugins/db/RolePersistence.php2
-rw-r--r--lib/plugins/engine/PluginManager.php6
-rw-r--r--lib/plugins/engine/PluginRepository.php2
-rw-r--r--lib/raumzeit/CycleData.php2
-rw-r--r--lib/raumzeit/CycleDataDB.php6
-rw-r--r--lib/raumzeit/Issue.php6
-rw-r--r--lib/raumzeit/IssueDB.php6
-rw-r--r--lib/raumzeit/MetaDate.php4
-rw-r--r--lib/raumzeit/MetaDateDB.php6
-rw-r--r--lib/raumzeit/SeminarDB.php6
-rw-r--r--lib/raumzeit/SingleDate.php2
-rw-r--r--lib/raumzeit/SingleDateDB.php6
-rw-r--r--lib/resources/ResourceManager.php2
-rw-r--r--lib/resources/RoomManager.php2
-rw-r--r--lib/visual.inc.php4
-rw-r--r--phpstan.neon.dist2
-rw-r--r--public/admin_elearning_interface.php2
-rw-r--r--resources/assets/javascripts/lib/wysiwyg.js6
274 files changed, 375 insertions, 342 deletions
diff --git a/app/controllers/loncapa.php b/app/controllers/loncapa.php
index 41331b6..dd7ea40 100644
--- a/app/controllers/loncapa.php
+++ b/app/controllers/loncapa.php
@@ -13,8 +13,8 @@ class LoncapaController extends AuthenticatedController
if ($GLOBALS['perm']->have_studip_perm('user', $course_id)
&& isset($GLOBALS['ELEARNING_INTERFACE_MODULES'][$cms_type]))
{
- require_once 'lib/elearning/ELearningUtils.class.php';
- require_once 'lib/elearning/ObjectConnections.class.php';
+ require_once 'lib/elearning/ELearningUtils.php';
+ require_once 'lib/elearning/ObjectConnections.php';
$object_connections = new ObjectConnections($course_id);
$connected_modules = $object_connections->getConnections();
diff --git a/app/controllers/quicksearch.php b/app/controllers/quicksearch.php
index 9c6a4ae..c086498 100644
--- a/app/controllers/quicksearch.php
+++ b/app/controllers/quicksearch.php
@@ -14,7 +14,7 @@
/**
* Controller for the ajax-response of the QuickSearch class found in
- * lib/classes/QuickSearch.class.php
+ * lib/classes/QuickSearch.php
*/
class QuicksearchController extends AuthenticatedController
{
diff --git a/cli/Commands/CleanupAdmissionRules.php b/cli/Commands/CleanupAdmissionRules.php
index 3079ae4..a7036d3 100644
--- a/cli/Commands/CleanupAdmissionRules.php
+++ b/cli/Commands/CleanupAdmissionRules.php
@@ -18,7 +18,7 @@ class CleanupAdmissionRules extends Command
protected function execute(InputInterface $input, OutputInterface $output): int
{
- require_once 'lib/classes/admission/CourseSet.class.php';
+ require_once 'lib/classes/admission/CourseSet.php';
$course_set = new \CourseSet();
diff --git a/cli/Commands/Plugins/PluginInfo.php b/cli/Commands/Plugins/PluginInfo.php
index 9809b13..c8f9748 100644
--- a/cli/Commands/Plugins/PluginInfo.php
+++ b/cli/Commands/Plugins/PluginInfo.php
@@ -65,11 +65,11 @@ class PluginInfo extends AbstractPluginCommand
private function pluginClassExists(string $plugindir, array $plugin)
{
- $pluginfile = $plugindir . $plugin['class'] . '.class.php';
+ $pluginfile = $plugindir . $plugin['class'] . '.php';
if (file_exists($pluginfile)) {
return 1;
} else {
- $pluginfile = $plugindir . $plugin['class'] . '.php';
+ $pluginfile = $plugindir . $plugin['class'] . '.class.php';
if (file_exists($pluginfile)) {
return 1;
}
diff --git a/composer.json b/composer.json
index dfb4fe1..920069f 100644
--- a/composer.json
+++ b/composer.json
@@ -19,7 +19,6 @@
"Trails\\": "lib/trails/",
"": [
"lib/calendar/",
- "lib/calendar/lib/",
"lib/classes/",
"lib/classes/admission/",
"lib/classes/admission/userfilter/",
diff --git a/config/config_develop.inc.php b/config/config_develop.inc.php
index a38726a..655fd4b 100644
--- a/config/config_develop.inc.php
+++ b/config/config_develop.inc.php
@@ -329,7 +329,7 @@ $INST_ADMIN_DATAFIELDS_VIEW = [
/*
* Fields that may not be hidden by users in their privacy settings.
* Can be configured per permission level.
- * @see lib/models/User.class.php in function getHomepageElements for
+ * @see lib/models/User.php in function getHomepageElements for
* available fields.
* Entries look like "'field_name' => true".
*/
diff --git a/db/migrations/1.128_step00240_coursesets.php b/db/migrations/1.128_step00240_coursesets.php
index b767ae3..2f47805 100644
--- a/db/migrations/1.128_step00240_coursesets.php
+++ b/db/migrations/1.128_step00240_coursesets.php
@@ -1,6 +1,6 @@
<?php
require_once 'vendor/phpass/PasswordHash.php';
-require_once 'lib/classes/admission/CourseSet.class.php';
+require_once 'lib/classes/admission/CourseSet.php';
class Step00240CourseSets extends Migration
{
diff --git a/db/migrations/1.12_step_120_userpic.php b/db/migrations/1.12_step_120_userpic.php
index f907b9f..eeb787a 100644
--- a/db/migrations/1.12_step_120_userpic.php
+++ b/db/migrations/1.12_step_120_userpic.php
@@ -10,7 +10,7 @@
* the License, or (at your option) any later version.
*/
-require_once 'lib/classes/Avatar.class.php';
+require_once 'lib/classes/Avatar.php';
class Step120Userpic extends Migration {
diff --git a/db/migrations/6.0.11_adjust_cronjobs.php b/db/migrations/6.0.11_adjust_cronjobs.php
new file mode 100644
index 0000000..132885e
--- /dev/null
+++ b/db/migrations/6.0.11_adjust_cronjobs.php
@@ -0,0 +1,43 @@
+<?php
+return new class extends Migration
+{
+ private const ADJUSTMENTS = [
+ 'lib/cronjobs/purge_cache',
+ 'lib/cronjobs/check_admission',
+ 'lib/cronjobs/session_gc',
+ 'lib/cronjobs/cleanup_log',
+ 'lib/cronjobs/garbage_collector',
+ 'lib/cronjobs/send_mail_queue',
+ 'lib/cronjobs/remind_oer_upload',
+ 'lib/cronjobs/send_mail_notifications',
+ ];
+
+ public function description()
+ {
+ return 'Adjusts the class names for core cronjobs by losing the .class suffix';
+ }
+
+ protected function up()
+ {
+ $this->changeCronjobFilenames('.class.php', '.php');
+ }
+
+ protected function down()
+ {
+ $this->changeCronjobFilenames('.php', '.class.php');
+ }
+
+ private function changeCronjobFilenames(string $fromExtension, string $toExtension): void
+ {
+ $query = "UPDATE `cronjobs_tasks`
+ SET `filename` = :new
+ WHERE `filename` = :old";
+ $statement = DBManager::get()->prepare($query);
+
+ foreach (self::ADJUSTMENTS as $filename) {
+ $statement->bindValue(':new', $filename . $toExtension);
+ $statement->bindValue(':old', $filename . $fromExtension);
+ $statement->execute();
+ }
+ }
+};
diff --git a/lib/admissionrules/conditionaladmission/ConditionalAdmission.php b/lib/admissionrules/conditionaladmission/ConditionalAdmission.php
index 7fdbc00..640e800 100644
--- a/lib/admissionrules/conditionaladmission/ConditionalAdmission.php
+++ b/lib/admissionrules/conditionaladmission/ConditionalAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * ConditionalAdmission.class.php
+ * ConditionalAdmission.php
*
* An admission rule that specifies conditions for course admission, like
* degree, study course or semester.
diff --git a/lib/admissionrules/coursememberadmission/CourseMemberAdmission.php b/lib/admissionrules/coursememberadmission/CourseMemberAdmission.php
index a3309e8..139c360 100644
--- a/lib/admissionrules/coursememberadmission/CourseMemberAdmission.php
+++ b/lib/admissionrules/coursememberadmission/CourseMemberAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * CourseMemberAdmission.class.php
+ * CourseMemberAdmission.php
*
* Specifies a mandatory course membership for course admission.
*
diff --git a/lib/admissionrules/limitedadmission/LimitedAdmission.php b/lib/admissionrules/limitedadmission/LimitedAdmission.php
index a193bda..d7f53c1 100644
--- a/lib/admissionrules/limitedadmission/LimitedAdmission.php
+++ b/lib/admissionrules/limitedadmission/LimitedAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * LimitedAdmission.class.php
+ * LimitedAdmission.php
*
* Represents rules for admission to a limited number of courses.
*
diff --git a/lib/admissionrules/lockedadmission/LockedAdmission.php b/lib/admissionrules/lockedadmission/LockedAdmission.php
index 0ca324b..92ef513 100644
--- a/lib/admissionrules/lockedadmission/LockedAdmission.php
+++ b/lib/admissionrules/lockedadmission/LockedAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * LockedAdmission.class.php
+ * LockedAdmission.php
*
* Represents a rule for completely locking courses for admission.
*
diff --git a/lib/admissionrules/participantrestrictedadmission/ParticipantRestrictedAdmission.php b/lib/admissionrules/participantrestrictedadmission/ParticipantRestrictedAdmission.php
index 28a910d..586f82f 100644
--- a/lib/admissionrules/participantrestrictedadmission/ParticipantRestrictedAdmission.php
+++ b/lib/admissionrules/participantrestrictedadmission/ParticipantRestrictedAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * ParticipantRestrictedAdmission.class.php
+ * ParticipantRestrictedAdmission.php
*
* Specifies restricted number of participants for course admission.
*
diff --git a/lib/admissionrules/passwordadmission/PasswordAdmission.php b/lib/admissionrules/passwordadmission/PasswordAdmission.php
index 0650630..8715021 100644
--- a/lib/admissionrules/passwordadmission/PasswordAdmission.php
+++ b/lib/admissionrules/passwordadmission/PasswordAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * PasswordAdmission.class.php
+ * PasswordAdmission.php
*
* Represents a rule for course access with a given password.
*
diff --git a/lib/admissionrules/preferentialadmission/PreferentialAdmission.php b/lib/admissionrules/preferentialadmission/PreferentialAdmission.php
index 9c90f69..2f57a44 100644
--- a/lib/admissionrules/preferentialadmission/PreferentialAdmission.php
+++ b/lib/admissionrules/preferentialadmission/PreferentialAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * PreferentialAdmission.class.php
+ * PreferentialAdmission.php
*
* An admission rule that favors selected courses of study or semesters of study.
*
diff --git a/lib/admissionrules/termsadmission/TermsAdmission.php b/lib/admissionrules/termsadmission/TermsAdmission.php
index 1d421ad..eb83dfc 100644
--- a/lib/admissionrules/termsadmission/TermsAdmission.php
+++ b/lib/admissionrules/termsadmission/TermsAdmission.php
@@ -1,6 +1,6 @@
<?php
/**
- * TermsAdmission.class.php
+ * TermsAdmission.php
*
* Represents a rule for course access with conditions of admission to be accepted.
*
diff --git a/lib/admissionrules/timedadmission/TimedAdmission.php b/lib/admissionrules/timedadmission/TimedAdmission.php
index e167bd8..5f5e885 100644
--- a/lib/admissionrules/timedadmission/TimedAdmission.php
+++ b/lib/admissionrules/timedadmission/TimedAdmission.php
@@ -1,7 +1,7 @@
<?php
/**
- * TimedAdmission.class.php
+ * TimedAdmission.php
*
* Specifies a time frame for course admission.
*
diff --git a/lib/calendar/CalendarColumn.php b/lib/calendar/CalendarColumn.php
index cc3abea..78a3809 100644
--- a/lib/calendar/CalendarColumn.php
+++ b/lib/calendar/CalendarColumn.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * CalendarColumn.class.php - a column for a CalendarView
+ * CalendarColumn.php - a column for a CalendarView
*
* This class represents an entry-column like "monday" in the calendar
*
diff --git a/lib/calendar/CalendarView.php b/lib/calendar/CalendarView.php
index 3d89ef1..9d9ebc2 100644
--- a/lib/calendar/CalendarView.php
+++ b/lib/calendar/CalendarView.php
@@ -2,7 +2,7 @@
# Lifter010: TODO
/**
- * CalendarView.class.php - generates a calendar
+ * CalendarView.php - generates a calendar
*
* This class takes and checks all necessary parameters to display a calendar/schedule/time-table.
*
diff --git a/lib/calendar/CalendarWeekView.php b/lib/calendar/CalendarWeekView.php
index c1e0f24..1d14ca21 100644
--- a/lib/calendar/CalendarWeekView.php
+++ b/lib/calendar/CalendarWeekView.php
@@ -2,7 +2,7 @@
# Lifter010: TODO
/**
- * CalendarWeekView.class.php - a specialized calendar view for displaying weeks
+ * CalendarWeekView.php - a specialized calendar view for displaying weeks
*
* This class takes and checks all necessary parameters to display a calendar/schedule/time-table.
*
diff --git a/lib/classes/ActionMenu.php b/lib/classes/ActionMenu.php
index 0822f72..25351ce 100644
--- a/lib/classes/ActionMenu.php
+++ b/lib/classes/ActionMenu.php
@@ -410,7 +410,7 @@ class ActionMenu
$rendering_mode = $this->rendering_mode;
if ($rendering_mode === null) {
- $rendering_mode = $this->countActions() <= Config::get()->ACTION_MENU_THRESHOLD
+ $rendering_mode = $this->countActions() <= 1 // Config::get()->ACTION_MENU_THRESHOLD
? self::RENDERING_MODE_ICONS
: self::RENDERING_MODE_MENU;
}
diff --git a/lib/classes/Assets.php b/lib/classes/Assets.php
index 928c47c..d4d792e 100644
--- a/lib/classes/Assets.php
+++ b/lib/classes/Assets.php
@@ -6,7 +6,7 @@
# Lifter010: TODO
/*
- * Assets.class.php - assets helper
+ * Assets.php - assets helper
*
* Copyright (C) 2007 - Marcus Lunzenauer <mlunzena@uos.de>
*
diff --git a/lib/classes/AuthorObject.php b/lib/classes/AuthorObject.php
index b3e98e3..f08622e 100644
--- a/lib/classes/AuthorObject.php
+++ b/lib/classes/AuthorObject.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// AuthorObject.class.php
+// AuthorObject.php
//
// Class to provide basic properties of an object in Stud.IP
//
@@ -31,7 +31,7 @@ define("ERROR_CRITICAL", "8");
/**
- * AuthorObject.class.php
+ * AuthorObject.php
*
* Class to provide basic properties of an object in Stud.IP
*
@@ -136,4 +136,3 @@ class AuthorObject
$class->resetErrors();
}
}
-
diff --git a/lib/classes/AutoInsert.php b/lib/classes/AutoInsert.php
index b2168cc..b5cc005 100644
--- a/lib/classes/AutoInsert.php
+++ b/lib/classes/AutoInsert.php
@@ -14,7 +14,7 @@
*/
/**
- * AutoInsert.class.php
+ * AutoInsert.php
* Provides functions required by StEP00216:
* - Assign seminars for automatic registration of certain user types
* - Maintenance of registration rules
diff --git a/lib/classes/Color.php b/lib/classes/Color.php
index a9b4506..dcd68f5 100644
--- a/lib/classes/Color.php
+++ b/lib/classes/Color.php
@@ -1,6 +1,6 @@
<?php
/**
- * lib/classes/Color.class.php - class to mix colors and convert them between different types
+ * lib/classes/Color.php - class to mix colors and convert them between different types
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -367,4 +367,4 @@ class Color {
return [$H, $S, $L];
}
-} \ No newline at end of file
+}
diff --git a/lib/classes/Config.php b/lib/classes/Config.php
index 642665d..c49a845 100644
--- a/lib/classes/Config.php
+++ b/lib/classes/Config.php
@@ -1,6 +1,6 @@
<?php
/**
- * Config.class.php
+ * Config.php
* provides access to global configuration
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/CourseConfig.php b/lib/classes/CourseConfig.php
index ad62be0..3ac5587 100644
--- a/lib/classes/CourseConfig.php
+++ b/lib/classes/CourseConfig.php
@@ -1,6 +1,6 @@
<?php
/**
- * CourseConfig.class.php
+ * CourseConfig.php
* provides access to course preferences
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/CronJob.php b/lib/classes/CronJob.php
index 1e7fb41..dee65e7 100644
--- a/lib/classes/CronJob.php
+++ b/lib/classes/CronJob.php
@@ -10,7 +10,7 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// Cronjob.class.php
+// Cronjob.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
diff --git a/lib/classes/CronjobScheduler.php b/lib/classes/CronjobScheduler.php
index cc4cf8b..fbb5b66 100644
--- a/lib/classes/CronjobScheduler.php
+++ b/lib/classes/CronjobScheduler.php
@@ -10,7 +10,7 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CronjobScheduler.class.php
+// CronjobScheduler.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
diff --git a/lib/classes/DataFieldEntry.php b/lib/classes/DataFieldEntry.php
index fd50a0b..eca0b4a 100644
--- a/lib/classes/DataFieldEntry.php
+++ b/lib/classes/DataFieldEntry.php
@@ -1,6 +1,6 @@
<?php
/**
- * DataFieldEntry.class.php
+ * DataFieldEntry.php
*
* @author Jan-Hendrik Willms <tleilax+studip@gmail.com>
* @author Marcus Lunzenauer <mlunzena@uos.de>
diff --git a/lib/classes/DatabaseObject.php b/lib/classes/DatabaseObject.php
index 2258adb..5c54229 100644
--- a/lib/classes/DatabaseObject.php
+++ b/lib/classes/DatabaseObject.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// DatabaseObject.class.php
+// DatabaseObject.php
//
// Class to provide basic properties of an DatabseObject in Stud.IP
//
@@ -35,7 +35,7 @@ define("INSTANCEOF_DATABASEOBJECT", "DatabaseObject");
/**
- * DatabaseObject.class.php
+ * DatabaseObject.php
*
* Class to provide basic properties of an DatabaseObject in Stud.IP
*
diff --git a/lib/classes/DateFormatter.php b/lib/classes/DateFormatter.php
index 5f7c558..5309cbc 100644
--- a/lib/classes/DateFormatter.php
+++ b/lib/classes/DateFormatter.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * DateFormater.class.php - Handles the formatting of one date and associated rooms.
+ * DateFormater.php - Handles the formatting of one date and associated rooms.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/DbSnapshot.php b/lib/classes/DbSnapshot.php
index dfb4f89..33ea660 100644
--- a/lib/classes/DbSnapshot.php
+++ b/lib/classes/DbSnapshot.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// DbSnapshot.class.php
+// DbSnapshot.php
// Class to provide snapshots of mysql result sets
// Uses PHPLib DB Abstraction
// Copyright (c) 2002 André Noack <andre.noack@gmx.net>
diff --git a/lib/classes/DbView.php b/lib/classes/DbView.php
index 81e9b91..0215f8e 100644
--- a/lib/classes/DbView.php
+++ b/lib/classes/DbView.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// DbView.class.php
+// DbView.php
// Class to provide simple Views and Prepared Statements
// Mainly for MySql, may work with other DBs (not tested)
// Copyright (c) 2002 André Noack <andre.noack@gmx.net>
diff --git a/lib/classes/InstituteCalendarHelper.php b/lib/classes/InstituteCalendarHelper.php
index 4302cf1..6c934b4 100644
--- a/lib/classes/InstituteCalendarHelper.php
+++ b/lib/classes/InstituteCalendarHelper.php
@@ -1,7 +1,7 @@
<?php
/**
- * InstituteCalendarHelper.class.php - class for institute calendar convenience functions
+ * InstituteCalendarHelper.php - class for institute calendar convenience functions
*
* @author Timo Hartge <hartge@data-quest>
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2
diff --git a/lib/classes/InstituteConfig.php b/lib/classes/InstituteConfig.php
index d1a51cb..551ea4d 100644
--- a/lib/classes/InstituteConfig.php
+++ b/lib/classes/InstituteConfig.php
@@ -1,6 +1,6 @@
<?php
/**
- * InstituteConfig.class.php
+ * InstituteConfig.php
* provides access to institute preferences
*
* @author Jan-Hendrik Wullms <tleilax+studip@gmail.com>
diff --git a/lib/classes/LockRules.php b/lib/classes/LockRules.php
index 59679db..f1feb9f 100644
--- a/lib/classes/LockRules.php
+++ b/lib/classes/LockRules.php
@@ -1,6 +1,6 @@
<?php
/**
- * LockRules.class.php
+ * LockRules.php
*
*
* This program is free software; you can redistribute it and/or
@@ -16,7 +16,7 @@
*/
/**
-* LockRules.class.php
+* LockRules.php
*
* This class contains only static methods dealing with lock rules
*
diff --git a/lib/classes/MVV.php b/lib/classes/MVV.php
index 517514c..b4d9edf 100644
--- a/lib/classes/MVV.php
+++ b/lib/classes/MVV.php
@@ -1,6 +1,6 @@
<?php
/**
- * MVV.class.php
+ * MVV.php
* Helper class
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/Markup.php b/lib/classes/Markup.php
index fbde67b..dc6820f 100644
--- a/lib/classes/Markup.php
+++ b/lib/classes/Markup.php
@@ -1,6 +1,6 @@
<?php
/**
- * Markup.class.php - Handling of Stud.IP- and HTML-markup.
+ * Markup.php - Handling of Stud.IP- and HTML-markup.
**
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/MessageBox.php b/lib/classes/MessageBox.php
index 8936ebe..3573018 100644
--- a/lib/classes/MessageBox.php
+++ b/lib/classes/MessageBox.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * MessageBox.class.php
+ * MessageBox.php
*
* html boxes for different kinds of messages
*
diff --git a/lib/classes/ModulesNotification.php b/lib/classes/ModulesNotification.php
index f414071..1dc361c 100644
--- a/lib/classes/ModulesNotification.php
+++ b/lib/classes/ModulesNotification.php
@@ -4,7 +4,7 @@
# Lifter003: TEST
# Lifter010: DONE - no html output in this file
/**
-* ModulesNotification.class.php
+* ModulesNotification.php
*
* check for modules (global and local for institutes and Veranstaltungen), read and write
*
@@ -17,7 +17,7 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// Modules.class.php
+// Modules.php
// Checks fuer Module (global und lokal fuer Veranstaltungen und Einrichtungen), Schreib-/Lesezugriff
// Copyright (C) 2003 Cornelis Kater <ckater@gwdg.de>, Suchi & Berg GmbH <info@data-quest.de>
// +---------------------------------------------------------------------------+
diff --git a/lib/classes/MultiPersonSearch.php b/lib/classes/MultiPersonSearch.php
index af10e6b..3ca617b 100644
--- a/lib/classes/MultiPersonSearch.php
+++ b/lib/classes/MultiPersonSearch.php
@@ -1,6 +1,6 @@
<?php
/**
- * MultiPersonSearch.class.php
+ * MultiPersonSearch.php
*
* This class provides a GUI-element for searching, adding and removing
* multiple persons. If JavaScript is enabled the GUI-element is shown
@@ -242,7 +242,7 @@ class MultiPersonSearch {
/**
* sets the search object.
*
- * @param SearchType object of type SearchType (e.g. SQLSearch.class.php)
+ * @param SearchType object of type SearchType (e.g. SQLSearch.php)
*
* @return MultiPersonSearch
*/
diff --git a/lib/classes/MvvQuickSearch.php b/lib/classes/MvvQuickSearch.php
index b0e79c0..b06de4f 100644
--- a/lib/classes/MvvQuickSearch.php
+++ b/lib/classes/MvvQuickSearch.php
@@ -1,6 +1,6 @@
<?php
-require_once 'lib/classes/searchtypes/SQLSearch.class.php';
+require_once 'lib/classes/searchtypes/SQLSearch.php';
class MvvQuickSearch extends SQLSearch
{
diff --git a/lib/classes/NotificationCenter.php b/lib/classes/NotificationCenter.php
index aaaa9e8..178fd62 100644
--- a/lib/classes/NotificationCenter.php
+++ b/lib/classes/NotificationCenter.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * NotificationCenter.class.php - NotificationCenter class
+ * NotificationCenter.php - NotificationCenter class
*
* Copyright (c) 2009 Elmar Ludwig
*
diff --git a/lib/classes/QuickSearch.php b/lib/classes/QuickSearch.php
index d3983a3..f3e18cc 100644
--- a/lib/classes/QuickSearch.php
+++ b/lib/classes/QuickSearch.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * QuickSearch.class.php - GUI class for quciksearch
+ * QuickSearch.php - GUI class for quciksearch
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -66,7 +66,7 @@
* $searcher = new TeacherSearch();
* print QuickSearch::get("username", $searcher)->withButton->render();
* //code-end
- * Watch the SearchType class in lib/classes/searchtypes/SearchType.class.php
+ * Watch the SearchType class in lib/classes/searchtypes/SearchType.php
* for details.
* Enjoy!
*/
@@ -166,7 +166,7 @@ class QuickSearch
/**
* constructor which prepares a searchfield for persons, courses, institutes or
* special items you may want to search for. This is a GUI-class, see
- * QuickSearch.class.php for further documentation.
+ * QuickSearch.php for further documentation.
*
* @param string $name the name of the destinated variable in your html-form. Handle it
* as if it was an '<input type="text" name="yourname">' input.
diff --git a/lib/classes/RangeConfig.php b/lib/classes/RangeConfig.php
index b1030e3..ad48207 100644
--- a/lib/classes/RangeConfig.php
+++ b/lib/classes/RangeConfig.php
@@ -1,6 +1,6 @@
<?php
/**
- * RangeConfig.class.php
+ * RangeConfig.php
* provides access to object preferences
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/RangeTreeObject.php b/lib/classes/RangeTreeObject.php
index 579db43..06f84bf 100644
--- a/lib/classes/RangeTreeObject.php
+++ b/lib/classes/RangeTreeObject.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// RangeTreeObject.class.php
+// RangeTreeObject.php
// Class to handle items in the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/RangeTreeObjectFak.php b/lib/classes/RangeTreeObjectFak.php
index 76cc366..9e980ca 100644
--- a/lib/classes/RangeTreeObjectFak.php
+++ b/lib/classes/RangeTreeObjectFak.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// RangeTreeObjectFak.class.php
+// RangeTreeObjectFak.php
// Class to handle items in the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/RangeTreeObjectInst.php b/lib/classes/RangeTreeObjectInst.php
index c291dfc..d41b03d 100644
--- a/lib/classes/RangeTreeObjectInst.php
+++ b/lib/classes/RangeTreeObjectInst.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// RangeTreeObjectInst.class.php
+// RangeTreeObjectInst.php
// Class to handle items in the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/Score.php b/lib/classes/Score.php
index 4d114d5..3b7f149 100644
--- a/lib/classes/Score.php
+++ b/lib/classes/Score.php
@@ -1,6 +1,6 @@
<?
/**
- * Score.class.php - Score class
+ * Score.php - Score class
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/Seminar.php b/lib/classes/Seminar.php
index a2d69ea..0fccdbc 100644
--- a/lib/classes/Seminar.php
+++ b/lib/classes/Seminar.php
@@ -4,7 +4,7 @@
# Lifter007: TODO
# Lifter010: TODO
/**
- * Seminar.class.php - This class represents a Seminar in Stud.IP
+ * Seminar.php - This class represents a Seminar in Stud.IP
*
* This class provides functions for seminar-members, seminar-dates, and seminar-modules
*
diff --git a/lib/classes/SeminarCategories.php b/lib/classes/SeminarCategories.php
index 5302f1e..25eb4c1 100644
--- a/lib/classes/SeminarCategories.php
+++ b/lib/classes/SeminarCategories.php
@@ -3,7 +3,7 @@
# Lifter003: TODO
# Lifter010: TODO
/**
- * SeminarCategories.class.php
+ * SeminarCategories.php
*
* encapsulates configuration settings for courses from config.inc.php
* aka $SEM_CLASS, $SEM_TYPE, $UPLOAD_TYPES
@@ -14,7 +14,7 @@
*/
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// SeminarCategories.class.php
+// SeminarCategories.php
//
// Copyright (C) 2008 André Noack <noack@data-quest>, data-quest GmbH <info@data-quest.de>
// +---------------------------------------------------------------------------+
diff --git a/lib/classes/SessionDecoder.php b/lib/classes/SessionDecoder.php
index d437494..fc40c07 100644
--- a/lib/classes/SessionDecoder.php
+++ b/lib/classes/SessionDecoder.php
@@ -3,7 +3,7 @@
# Lifter003: TODO
# Lifter010: TODO
/**
- * SessionDecoder.class.php
+ * SessionDecoder.php
*
* decodes serialized PHP session data
*
@@ -13,7 +13,7 @@
*/
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// SessionDecoder.class.php
+// SessionDecoder.php
//
// Copyright (C) 2008 André Noack <noack@data-quest>, data-quest GmbH <info@data-quest.de>
// +---------------------------------------------------------------------------+
diff --git a/lib/classes/SimpleCollection.php b/lib/classes/SimpleCollection.php
index 6acc10d..ae773f5 100644
--- a/lib/classes/SimpleCollection.php
+++ b/lib/classes/SimpleCollection.php
@@ -7,7 +7,7 @@ if (!defined('SORT_FLAG_CASE')) {
}
/**
- * SimpleCollection.class.php
+ * SimpleCollection.php
* collection of assoc arrays with convenience
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/SimpleORMap.php b/lib/classes/SimpleORMap.php
index 7124cc4..7492906 100644
--- a/lib/classes/SimpleORMap.php
+++ b/lib/classes/SimpleORMap.php
@@ -1,6 +1,6 @@
<?php
/**
- * SimpleORMap.class.php
+ * SimpleORMap.php
* simple object-relational mapping
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/SimpleORMapCollection.php b/lib/classes/SimpleORMapCollection.php
index 7debb80..20162e5 100644
--- a/lib/classes/SimpleORMapCollection.php
+++ b/lib/classes/SimpleORMapCollection.php
@@ -1,6 +1,6 @@
<?php
/**
- * SimpleORMapCollection.class.php
+ * SimpleORMapCollection.php
* simple object-relational mapping
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/StudipAutoloader.php b/lib/classes/StudipAutoloader.php
index 7054478..883adc7 100644
--- a/lib/classes/StudipAutoloader.php
+++ b/lib/classes/StudipAutoloader.php
@@ -52,8 +52,8 @@ class StudipAutoloader
// file is found quickly and unneccessary, costly calls to file_exists()
// can be avoided.
protected static $file_extensions = [
- '.class.php',
'.php',
+ '.class.php',
'.interface.php',
];
diff --git a/lib/classes/StudipForm.php b/lib/classes/StudipForm.php
index 024e2e3..12029df 100644
--- a/lib/classes/StudipForm.php
+++ b/lib/classes/StudipForm.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipForm.class.php
+// StudipForm.php
// Class to build HTML formular and handle persistence using PhpLib
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipLock.php b/lib/classes/StudipLock.php
index 601db8b..ce5752f 100644
--- a/lib/classes/StudipLock.php
+++ b/lib/classes/StudipLock.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudipLock.class.php
+ * StudipLock.php
* class with methods to perform cooperative advisory locking
* using the GET_LOCK feature from Mysql
* https://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_get-lock
diff --git a/lib/classes/StudipMail.php b/lib/classes/StudipMail.php
index 4974f66..c517847 100644
--- a/lib/classes/StudipMail.php
+++ b/lib/classes/StudipMail.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudipMail.class.php
+ * StudipMail.php
*
* class for constructing and sending emails in Stud.IP
*
diff --git a/lib/classes/StudipObject.php b/lib/classes/StudipObject.php
index 151fcdb..5f10c86 100644
--- a/lib/classes/StudipObject.php
+++ b/lib/classes/StudipObject.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipObject.class.php
+// StudipObject.php
//
// Class to provide basic properties of an StudipObject in Stud.IP
//
@@ -36,7 +36,7 @@ define ("INSTANCEOF_STUDIPOBJECT", "StudipObject");
/**
- * StudipObject.class.php
+ * StudipObject.php
*
* Class to provide basic properties of an StudipObject in Stud.IP
*
diff --git a/lib/classes/StudipPDO.php b/lib/classes/StudipPDO.php
index 8a1422b..77046f7 100644
--- a/lib/classes/StudipPDO.php
+++ b/lib/classes/StudipPDO.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudipPDO.class.php - Stud.IP PDO class
+ * StudipPDO.php - Stud.IP PDO class
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/StudipRangeTree.php b/lib/classes/StudipRangeTree.php
index cf88d23..5e1aefe 100644
--- a/lib/classes/StudipRangeTree.php
+++ b/lib/classes/StudipRangeTree.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipRangeTree.class.php
+// StudipRangeTree.php
// Class to handle structure of the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipRangeTreeView.php b/lib/classes/StudipRangeTreeView.php
index 2532e4b..7b23089 100644
--- a/lib/classes/StudipRangeTreeView.php
+++ b/lib/classes/StudipRangeTreeView.php
@@ -6,7 +6,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipRangeTreeView.class.php
+// StudipRangeTreeView.php
// Class to print out the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipRangeTreeViewAdmin.php b/lib/classes/StudipRangeTreeViewAdmin.php
index 0620957..1c5e5a1 100644
--- a/lib/classes/StudipRangeTreeViewAdmin.php
+++ b/lib/classes/StudipRangeTreeViewAdmin.php
@@ -6,7 +6,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipRangeTreeViewAdmin.class.php
+// StudipRangeTreeViewAdmin.php
// Class to print out the "range tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemRangeTreeViewSimple.php b/lib/classes/StudipSemRangeTreeViewSimple.php
index eecdd70..78b5ccf 100644
--- a/lib/classes/StudipSemRangeTreeViewSimple.php
+++ b/lib/classes/StudipSemRangeTreeViewSimple.php
@@ -6,7 +6,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemRangeTreeViewSimple.class.php
+// StudipSemRangeTreeViewSimple.php
// Class to print out the seminar tree
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemSearch.php b/lib/classes/StudipSemSearch.php
index 8932dd1..6d86b44 100644
--- a/lib/classes/StudipSemSearch.php
+++ b/lib/classes/StudipSemSearch.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemSearchForm.class.php
+// StudipSemSearchForm.php
// Class to build search formular and execute search
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemSearchHelper.php b/lib/classes/StudipSemSearchHelper.php
index 29ee5d3..d221869 100644
--- a/lib/classes/StudipSemSearchHelper.php
+++ b/lib/classes/StudipSemSearchHelper.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemSearchHelper.class.php
+// StudipSemSearchHelper.php
//
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemTreeSearch.php b/lib/classes/StudipSemTreeSearch.php
index e79a34f..0d8f935 100644
--- a/lib/classes/StudipSemTreeSearch.php
+++ b/lib/classes/StudipSemTreeSearch.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemTreeSearch.class.php
+// StudipSemTreeSearch.php
// Class to build search formular and execute search
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemTreeView.php b/lib/classes/StudipSemTreeView.php
index 3e984cc..f2d6fbe 100644
--- a/lib/classes/StudipSemTreeView.php
+++ b/lib/classes/StudipSemTreeView.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemTreeView.class.php
+// StudipSemTreeView.php
// Class to print out the seminar tree
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemTreeViewAdmin.php b/lib/classes/StudipSemTreeViewAdmin.php
index edc65c8..59c926a 100644
--- a/lib/classes/StudipSemTreeViewAdmin.php
+++ b/lib/classes/StudipSemTreeViewAdmin.php
@@ -7,7 +7,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemTreeViewAdmin.class.php
+// StudipSemTreeViewAdmin.php
// Class to print out the seminar tree in administration mode
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/StudipSemTreeViewSimple.php b/lib/classes/StudipSemTreeViewSimple.php
index e2dba76..239275b 100644
--- a/lib/classes/StudipSemTreeViewSimple.php
+++ b/lib/classes/StudipSemTreeViewSimple.php
@@ -6,7 +6,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipSemTreeViewSimple.class.php
+// StudipSemTreeViewSimple.php
// Class to print out the seminar tree
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/TreeAbstract.php b/lib/classes/TreeAbstract.php
index ccdb6e1..a1413b3 100644
--- a/lib/classes/TreeAbstract.php
+++ b/lib/classes/TreeAbstract.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// TreeAbstract.class.php
+// TreeAbstract.php
// Abstract Base Class to handle in-memory tree structures
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/classes/TreeView.php b/lib/classes/TreeView.php
index 243a9b9..0bc2810 100644
--- a/lib/classes/TreeView.php
+++ b/lib/classes/TreeView.php
@@ -5,8 +5,8 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// TreeView.class.php
-// Class to print out html represantation of a tree object based on TreeAbstract.class.php
+// TreeView.php
+// Class to print out html represantation of a tree object based on TreeAbstract.php
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
// Suchi & Berg GmbH <info@data-quest.de>
@@ -26,9 +26,7 @@
// +---------------------------------------------------------------------------+
/**
-* Class to print out html represantation of a tree object based on TreeAbstract.class.php
-*
-* Class to print out html represantation of a tree object based on TreeAbstract.class.php
+* Class to print out html represantation of a tree object based on TreeAbstract.php
*
* @access public
* @author André Noack <noack@data-quest.de>
diff --git a/lib/classes/UserConfig.php b/lib/classes/UserConfig.php
index 4cb1ff6..413d4c8 100644
--- a/lib/classes/UserConfig.php
+++ b/lib/classes/UserConfig.php
@@ -1,6 +1,6 @@
<?php
/**
- * UserConfig.class.php
+ * UserConfig.php
* provides access to user preferences
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/UserLookup.php b/lib/classes/UserLookup.php
index bdd9fc3..62de8fd 100644
--- a/lib/classes/UserLookup.php
+++ b/lib/classes/UserLookup.php
@@ -1,6 +1,6 @@
<?php
/**
- * UserLookup.class.php
+ * UserLookup.php
*
* provides an easy way to look up user ids by certain filter criteria
*
diff --git a/lib/classes/UserManagement.php b/lib/classes/UserManagement.php
index 015e6cd..4bd47ec 100644
--- a/lib/classes/UserManagement.php
+++ b/lib/classes/UserManagement.php
@@ -1,7 +1,7 @@
<?php
# Lifter007: TODO
/**
- * UserManagement.class.php
+ * UserManagement.php
*
* Management for the Stud.IP global users
*
@@ -25,7 +25,7 @@ require_once 'lib/messaging.inc.php'; // remove messages send or recieved by u
require_once 'lib/object.inc.php';
/**
- * UserManagement.class.php
+ * UserManagement.php
*
* Management for the Stud.IP global users
*
diff --git a/lib/classes/admission/AdmissionAlgorithm.php b/lib/classes/admission/AdmissionAlgorithm.php
index 7e9df92..fae1061 100644
--- a/lib/classes/admission/AdmissionAlgorithm.php
+++ b/lib/classes/admission/AdmissionAlgorithm.php
@@ -1,7 +1,7 @@
<?php
/**
- * AdmissionAlgorithm.class.php
+ * AdmissionAlgorithm.php
*
* Abstract class for seminar seat distribution. A concrete algorithm
* needs to be implemented.
@@ -32,4 +32,4 @@ abstract class AdmissionAlgorithm
} /* end of class AdmissionAlgorithm */
-?> \ No newline at end of file
+?>
diff --git a/lib/classes/admission/AdmissionPriority.php b/lib/classes/admission/AdmissionPriority.php
index 47e1564..22d426e 100644
--- a/lib/classes/admission/AdmissionPriority.php
+++ b/lib/classes/admission/AdmissionPriority.php
@@ -1,6 +1,6 @@
<?php
/**
- * AdmissionPriority.class.php
+ * AdmissionPriority.php
*
* This class represents priorities a user has given to a set of courses.
* No instance is needed, all methods are designed to be called statically.
diff --git a/lib/classes/admission/AdmissionRule.php b/lib/classes/admission/AdmissionRule.php
index fe5e5bb..2b826e4 100644
--- a/lib/classes/admission/AdmissionRule.php
+++ b/lib/classes/admission/AdmissionRule.php
@@ -1,7 +1,7 @@
<?php
/**
- * AdmissionRule.class.php
+ * AdmissionRule.php
*
* An abstract representation of rules for course admission.
*
diff --git a/lib/classes/admission/AdmissionUserList.php b/lib/classes/admission/AdmissionUserList.php
index 570bc62..3e5a430 100644
--- a/lib/classes/admission/AdmissionUserList.php
+++ b/lib/classes/admission/AdmissionUserList.php
@@ -1,7 +1,7 @@
<?php
/**
- * AdmissionUserList.class.php
+ * AdmissionUserList.php
*
* Contains users that get different probabilities than others in seat
* distribution algorithm.
diff --git a/lib/classes/admission/CourseSet.php b/lib/classes/admission/CourseSet.php
index d94bc05..cf87667 100644
--- a/lib/classes/admission/CourseSet.php
+++ b/lib/classes/admission/CourseSet.php
@@ -1,7 +1,7 @@
<?php
/**
- * CourseSet.class.php
+ * CourseSet.php
*
* Represents groups of Stud.IP courses that have common rules for admission.
*
diff --git a/lib/classes/admission/RandomAlgorithm.php b/lib/classes/admission/RandomAlgorithm.php
index 54d44d7..4666f59 100644
--- a/lib/classes/admission/RandomAlgorithm.php
+++ b/lib/classes/admission/RandomAlgorithm.php
@@ -1,7 +1,7 @@
<?php
/**
- * RandomAlgorithm.class.php - Standard seat distribution algorithm
+ * RandomAlgorithm.php - Standard seat distribution algorithm
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/admission/UserFilter.php b/lib/classes/admission/UserFilter.php
index d380ef0..692422f 100644
--- a/lib/classes/admission/UserFilter.php
+++ b/lib/classes/admission/UserFilter.php
@@ -1,7 +1,7 @@
<?php
/**
- * UserFilter.class.php
+ * UserFilter.php
*
* Conditions for user selection in Stud.IP. A condition is a collection of
* condition fields, e.g. degree, course of study or semester. Each
diff --git a/lib/classes/admission/UserFilterField.php b/lib/classes/admission/UserFilterField.php
index 9081e90..4b51322 100644
--- a/lib/classes/admission/UserFilterField.php
+++ b/lib/classes/admission/UserFilterField.php
@@ -1,7 +1,7 @@
<?php
/**
- * UserFilterField.class.php
+ * UserFilterField.php
*
* A specification of a Stud.IP condition that must be fulfilled. One
* or more instances of the UserFilterField subclasses make up a
@@ -197,11 +197,10 @@ class UserFilterField
if (self::$available_filter_fields === null) {
$fields = [];
// Load all PHP class files found in the condition field folder.
- foreach (glob(realpath(dirname(__FILE__).'/userfilter').'/*.class.php') as $file) {
+ foreach (glob(realpath(dirname(__FILE__).'/userfilter').'/*.php') as $file) {
require_once($file);
// Try to auto-calculate class name from file name.
- $className = mb_substr(basename($file), 0,
- mb_strpos(basename($file), '.class.php'));
+ $className = mb_substr(basename($file), 0, mb_strpos(basename($file), '.php'));
// Check if class is right.
if (is_subclass_of($className, 'UserFilterField')) {
if ($className::$isParameterized) {
diff --git a/lib/classes/admission/userfilter/DatafieldCondition.php b/lib/classes/admission/userfilter/DatafieldCondition.php
index 966fe8e..1bc93e8 100644
--- a/lib/classes/admission/userfilter/DatafieldCondition.php
+++ b/lib/classes/admission/userfilter/DatafieldCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * DatafieldCondition.class.php
+ * DatafieldCondition.php
*
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/admission/userfilter/DegreeCondition.php b/lib/classes/admission/userfilter/DegreeCondition.php
index 9180e2d..61ce456 100644
--- a/lib/classes/admission/userfilter/DegreeCondition.php
+++ b/lib/classes/admission/userfilter/DegreeCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * DegreeCondition.class.php
+ * DegreeCondition.php
*
* All conditions concerning the study degree in Stud.IP can be specified here.
*
diff --git a/lib/classes/admission/userfilter/PermissionCondition.php b/lib/classes/admission/userfilter/PermissionCondition.php
index 4adfdbf..fe9458c 100644
--- a/lib/classes/admission/userfilter/PermissionCondition.php
+++ b/lib/classes/admission/userfilter/PermissionCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * PermissionCondition.class.php
+ * PermissionCondition.php
*
* All conditions concerning the semester of study in Stud.IP can be specified here.
*
diff --git a/lib/classes/admission/userfilter/SemesterOfStudyCondition.php b/lib/classes/admission/userfilter/SemesterOfStudyCondition.php
index 2c1233a..5794f75 100644
--- a/lib/classes/admission/userfilter/SemesterOfStudyCondition.php
+++ b/lib/classes/admission/userfilter/SemesterOfStudyCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * SemesterOfStudyCondition.class.php
+ * SemesterOfStudyCondition.php
*
* All conditions concerning the semester of study in Stud.IP can be specified here.
*
diff --git a/lib/classes/admission/userfilter/StgteilVersionCondition.php b/lib/classes/admission/userfilter/StgteilVersionCondition.php
index f6348e5..ec5c1f3 100644
--- a/lib/classes/admission/userfilter/StgteilVersionCondition.php
+++ b/lib/classes/admission/userfilter/StgteilVersionCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * StgteilVersionCondition.class.php
+ * StgteilVersionCondition.php
*
* All conditions concerning the Studiengangteil-Versionen in Stud.IP can be specified here.
*
diff --git a/lib/classes/admission/userfilter/SubjectCondition.php b/lib/classes/admission/userfilter/SubjectCondition.php
index ab44d49..7aa5f26 100644
--- a/lib/classes/admission/userfilter/SubjectCondition.php
+++ b/lib/classes/admission/userfilter/SubjectCondition.php
@@ -1,6 +1,6 @@
<?php
/**
- * SubjectCondition.class.php
+ * SubjectCondition.php
*
* All conditions concerning the study subject in Stud.IP can be specified here.
*
diff --git a/lib/classes/admission/userfilter/SubjectConditionAny.php b/lib/classes/admission/userfilter/SubjectConditionAny.php
index 107c86c..3a3712b 100644
--- a/lib/classes/admission/userfilter/SubjectConditionAny.php
+++ b/lib/classes/admission/userfilter/SubjectConditionAny.php
@@ -1,6 +1,6 @@
<?php
/**
- * SubjectConditionAny.class.php
+ * SubjectConditionAny.php
*
* All conditions concerning the study subject in Stud.IP can be specified here.
*
@@ -14,7 +14,7 @@
* @category Stud.IP
*/
-require_once realpath(__DIR__ . '/..') . '/UserFilterField.class.php';
+require_once realpath(__DIR__ . '/..') . '/UserFilterField.php';
class SubjectConditionAny extends UserFilterField
{
diff --git a/lib/classes/auth_plugins/StudipAuthAbstract.php b/lib/classes/auth_plugins/StudipAuthAbstract.php
index 36c75df..19d5afa 100644
--- a/lib/classes/auth_plugins/StudipAuthAbstract.php
+++ b/lib/classes/auth_plugins/StudipAuthAbstract.php
@@ -1,7 +1,7 @@
<?php
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipAuthAbstract.class.php
+// StudipAuthAbstract.php
// Abstract class, used as a template for authentication plugins
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/auth_plugins/StudipAuthIP.php b/lib/classes/auth_plugins/StudipAuthIP.php
index e0d6afa..dd42a28 100644
--- a/lib/classes/auth_plugins/StudipAuthIP.php
+++ b/lib/classes/auth_plugins/StudipAuthIP.php
@@ -1,6 +1,6 @@
<?php
/*
- * StudipAuthIP.class.php - Stud.IP authentication with user ip
+ * StudipAuthIP.php - Stud.IP authentication with user ip
* Copyright (c) 2014 Florian Bieringer, Uni Passau
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/auth_plugins/StudipAuthLTI.php b/lib/classes/auth_plugins/StudipAuthLTI.php
index 07ab8c3..d5a2863 100644
--- a/lib/classes/auth_plugins/StudipAuthLTI.php
+++ b/lib/classes/auth_plugins/StudipAuthLTI.php
@@ -1,6 +1,6 @@
<?php
/*
- * StudipAuthLTI.class.php - Stud.IP authentication against LTI 1.1 consumer
+ * StudipAuthLTI.php - Stud.IP authentication against LTI 1.1 consumer
* Copyright (c) 2018 Elmar Ludwig
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/auth_plugins/StudipAuthLdap.php b/lib/classes/auth_plugins/StudipAuthLdap.php
index 7cb8686..6bbd3fd 100644
--- a/lib/classes/auth_plugins/StudipAuthLdap.php
+++ b/lib/classes/auth_plugins/StudipAuthLdap.php
@@ -1,7 +1,7 @@
<?php
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipAuthLdap.class.php
+// StudipAuthLdap.php
// Stud.IP authentication against LDAP Server
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/auth_plugins/StudipAuthLdapReadAndBind.php b/lib/classes/auth_plugins/StudipAuthLdapReadAndBind.php
index 742f0cb..3acb1d8 100644
--- a/lib/classes/auth_plugins/StudipAuthLdapReadAndBind.php
+++ b/lib/classes/auth_plugins/StudipAuthLdapReadAndBind.php
@@ -4,7 +4,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipAuthLdapReadAndBind.class.php
+// StudipAuthLdapReadAndBind.php
// Stud.IP authentication against LDAP Server using read-only account and
// user bind
//
diff --git a/lib/classes/auth_plugins/StudipAuthOIDC.php b/lib/classes/auth_plugins/StudipAuthOIDC.php
index adfe9c9..b26c17b 100644
--- a/lib/classes/auth_plugins/StudipAuthOIDC.php
+++ b/lib/classes/auth_plugins/StudipAuthOIDC.php
@@ -1,6 +1,6 @@
<?php
/*
- * StudipAuthOpenID.class.php - Stud.IP authentication using OpenID Connect
+ * StudipAuthOpenID.php - Stud.IP authentication using OpenID Connect
* Copyright (c) 2021 André Noack <noack@data-quest.de>
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/auth_plugins/StudipAuthSSO.php b/lib/classes/auth_plugins/StudipAuthSSO.php
index 752fa59..dd6af11 100644
--- a/lib/classes/auth_plugins/StudipAuthSSO.php
+++ b/lib/classes/auth_plugins/StudipAuthSSO.php
@@ -3,7 +3,7 @@
# Lifter003: TODO
# Lifter010: TODO
/*
- * StudipAuthSSO.class.php - abstract base class for SSO auth plugins
+ * StudipAuthSSO.php - abstract base class for SSO auth plugins
* Copyright (c) 2007 Elmar Ludwig, Universitaet Osnabrueck
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/auth_plugins/StudipAuthShib.php b/lib/classes/auth_plugins/StudipAuthShib.php
index 3eedc65..135b3f6 100644
--- a/lib/classes/auth_plugins/StudipAuthShib.php
+++ b/lib/classes/auth_plugins/StudipAuthShib.php
@@ -3,7 +3,7 @@
# Lifter003: TODO
# Lifter010: TODO
/*
- * StudipAuthShib.class.php - Stud.IP authentication against Shibboleth server
+ * StudipAuthShib.php - Stud.IP authentication against Shibboleth server
* Copyright (c) 2007 Elmar Ludwig, Universitaet Osnabrueck
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/auth_plugins/StudipAuthStandard.php b/lib/classes/auth_plugins/StudipAuthStandard.php
index 5bb3e65..927a13c 100644
--- a/lib/classes/auth_plugins/StudipAuthStandard.php
+++ b/lib/classes/auth_plugins/StudipAuthStandard.php
@@ -4,7 +4,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// StudipAuthStandard.class.php
+// StudipAuthStandard.php
// Basic Stud.IP authentication, using the Stud.IP database
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/classes/cache/Exception.php b/lib/classes/cache/Exception.php
index 64ee364..061d090 100644
--- a/lib/classes/cache/Exception.php
+++ b/lib/classes/cache/Exception.php
@@ -1,6 +1,6 @@
<?php
/*
- * CacheException.class.php
+ * CacheException.php
* This file is part of Stud.IP.
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/cache/InvalidCacheArgumentException.php b/lib/classes/cache/InvalidCacheArgumentException.php
index e85c6b2..a201cad 100644
--- a/lib/classes/cache/InvalidCacheArgumentException.php
+++ b/lib/classes/cache/InvalidCacheArgumentException.php
@@ -1,6 +1,6 @@
<?php
/*
- * CacheException.class.php
+ * CacheException.php
* This file is part of Stud.IP.
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/cache/Item.php b/lib/classes/cache/Item.php
index 4e83d4d..99a6df8 100644
--- a/lib/classes/cache/Item.php
+++ b/lib/classes/cache/Item.php
@@ -1,6 +1,6 @@
<?php
/**
- * Item.class.php
+ * Item.php
* This file is part of Stud.IP.
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/calendar/ICalendarExport.php b/lib/classes/calendar/ICalendarExport.php
index 00147ef..d8d1af7 100644
--- a/lib/classes/calendar/ICalendarExport.php
+++ b/lib/classes/calendar/ICalendarExport.php
@@ -1,6 +1,6 @@
<?php
/**
- * ICalendarExport.class.php
+ * ICalendarExport.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/coursewizardsteps/LVGroupsWizardStep.php b/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
index e79e1bd..c651714 100644
--- a/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
+++ b/lib/classes/coursewizardsteps/LVGroupsWizardStep.php
@@ -13,7 +13,7 @@
* @category Stud.IP
*/
-require_once dirname(__FILE__) . '/../StudipLvgruppeSelection.class.php';
+require_once dirname(__FILE__) . '/../StudipLvgruppeSelection.php';
class LVGroupsWizardStep implements CourseWizardStep
{
diff --git a/lib/classes/exportdocument/ExportPDF.php b/lib/classes/exportdocument/ExportPDF.php
index 915cfde..f676c45 100644
--- a/lib/classes/exportdocument/ExportPDF.php
+++ b/lib/classes/exportdocument/ExportPDF.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * ExportPDF.class.php - create and export or save a pdf with simple HTML-Data
+ * ExportPDF.php - create and export or save a pdf with simple HTML-Data
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/searchtypes/MyCoursesSearch.php b/lib/classes/searchtypes/MyCoursesSearch.php
index 64bee64..1bdb250 100644
--- a/lib/classes/searchtypes/MyCoursesSearch.php
+++ b/lib/classes/searchtypes/MyCoursesSearch.php
@@ -1,6 +1,6 @@
<?php
/**
- * MyCoursesSearch.class.php
+ * MyCoursesSearch.php
* Search only in own courses.
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/searchtypes/PermissionSearch.php b/lib/classes/searchtypes/PermissionSearch.php
index cc4ce3e..3f86271 100644
--- a/lib/classes/searchtypes/PermissionSearch.php
+++ b/lib/classes/searchtypes/PermissionSearch.php
@@ -12,7 +12,7 @@
/**
* Class of type SearchType used for searches with QuickSearch
- * (lib/classes/QuickSearch.class.php). You can search for people with a given
+ * (lib/classes/QuickSearch.php). You can search for people with a given
* Stud.IP permission level, either globally or at an institute.
*
* @author Thomas Hackl
diff --git a/lib/classes/searchtypes/ResourceSearch.php b/lib/classes/searchtypes/ResourceSearch.php
index 24038a8..f664beb 100644
--- a/lib/classes/searchtypes/ResourceSearch.php
+++ b/lib/classes/searchtypes/ResourceSearch.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceSearch.class.php - A search type for resources.
+ * ResourceSearch.php - A search type for resources.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/searchtypes/RoomSearch.php b/lib/classes/searchtypes/RoomSearch.php
index 002712e..877c2cb 100644
--- a/lib/classes/searchtypes/RoomSearch.php
+++ b/lib/classes/searchtypes/RoomSearch.php
@@ -1,7 +1,7 @@
<?php
/**
- * RoomSearch.class.php - A search type for rooms.
+ * RoomSearch.php - A search type for rooms.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/classes/searchtypes/SQLSearch.php b/lib/classes/searchtypes/SQLSearch.php
index 86aff6d..de4efa3 100644
--- a/lib/classes/searchtypes/SQLSearch.php
+++ b/lib/classes/searchtypes/SQLSearch.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * SQLSearch.class.php - Class of type SearchType used for searches with QuickSearch
+ * SQLSearch.php - Class of type SearchType used for searches with QuickSearch
*
* Long description for file (if any)...
*
@@ -17,7 +17,7 @@
/**
* Class of type SearchType used for searches with QuickSearch
- * (lib/classes/QuickSearch.class.php). You can search with a sql-syntax in the
+ * (lib/classes/QuickSearch.php). You can search with a sql-syntax in the
* database. You just need to give in a query like for a PDB-prepare statement
* and at least the variable ":input" in the query (the :input will be replaced
* with the input of the QuickSearch userinput.
diff --git a/lib/classes/searchtypes/SearchType.php b/lib/classes/searchtypes/SearchType.php
index d46d57e..b4f9b68 100644
--- a/lib/classes/searchtypes/SearchType.php
+++ b/lib/classes/searchtypes/SearchType.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * SQLSearch.class.php - A class-structure for alle search-objects in Stud.IP.
+ * SQLSearch.php - A class-structure for alle search-objects in Stud.IP.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -104,4 +104,3 @@ abstract class SearchType
*/
abstract public function includePath();
}
-
diff --git a/lib/classes/searchtypes/SeminarSearch.php b/lib/classes/searchtypes/SeminarSearch.php
index e490228..fd7bf8a 100644
--- a/lib/classes/searchtypes/SeminarSearch.php
+++ b/lib/classes/searchtypes/SeminarSearch.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * SeminarSearch.class.php
+ * SeminarSearch.php
* class to adapt StudipSemSearch to Quicksearch
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/classes/searchtypes/StandardSearch.php b/lib/classes/searchtypes/StandardSearch.php
index 837a849..a3f0f3b 100644
--- a/lib/classes/searchtypes/StandardSearch.php
+++ b/lib/classes/searchtypes/StandardSearch.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/**
- * StandardSearch.class.php - Class of type SearchType used for searches with QuickSearch
+ * StandardSearch.php - Class of type SearchType used for searches with QuickSearch
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -15,7 +15,7 @@
/**
* Class of type SearchType used for searches with QuickSearch
- * (lib/classes/QuickSearch.class.php). You can search with a sql-syntax in the
+ * (lib/classes/QuickSearch.php). You can search with a sql-syntax in the
* database. You just need to give in a query like for a PDB-prepare statement
* and at least the variable ":input" in the query (the :input will be replaced
* with the input of the QuickSearch userinput.
diff --git a/lib/classes/searchtypes/TreeSearch.php b/lib/classes/searchtypes/TreeSearch.php
index 2fecf60..73d4239 100644
--- a/lib/classes/searchtypes/TreeSearch.php
+++ b/lib/classes/searchtypes/TreeSearch.php
@@ -1,6 +1,6 @@
<?php
/**
- * TreeSearch.class.php - Class of type SearchType used for searches with QuickSearch
+ * TreeSearch.php - Class of type SearchType used for searches with QuickSearch
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/cronjobs/check_admission.php b/lib/cronjobs/check_admission.php
index dfd493c..1be4c09 100644
--- a/lib/cronjobs/check_admission.php
+++ b/lib/cronjobs/check_admission.php
@@ -4,7 +4,7 @@ use Monolog\Logger;
use Monolog\Handler\StreamHandler;
/**
-* check_admission.class.php
+* check_admission.php
*
* @author André Noack <noack@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
@@ -49,7 +49,7 @@ class CheckAdmissionJob extends CronJob
public function setUp()
{
- require_once 'lib/classes/admission/CourseSet.class.php';
+ require_once 'lib/classes/admission/CourseSet.php';
if (empty($GLOBALS['ABSOLUTE_URI_STUDIP'])) {
throw new Exception('To use check_admission job you MUST set correct values for $ABSOLUTE_URI_STUDIP in config_local.inc.php!');
}
diff --git a/lib/cronjobs/cleanup_log.php b/lib/cronjobs/cleanup_log.php
index 378a6ec..e88f803 100644
--- a/lib/cronjobs/cleanup_log.php
+++ b/lib/cronjobs/cleanup_log.php
@@ -10,7 +10,7 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// cleanup_log.class.php
+// cleanup_log.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
@@ -28,7 +28,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
-require_once 'lib/classes/CronJob.class.php';
+require_once 'lib/classes/CronJob.php';
class CleanupLogJob extends CronJob
{
diff --git a/lib/cronjobs/garbage_collector.php b/lib/cronjobs/garbage_collector.php
index bab44b2..eba57fc 100644
--- a/lib/cronjobs/garbage_collector.php
+++ b/lib/cronjobs/garbage_collector.php
@@ -1,12 +1,12 @@
<?php
/**
-* garbage_collector.class.php
+* garbage_collector.php
*
* @author André Noack <noack@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
* @since 2.4
*/
-require_once 'lib/classes/CronJob.class.php';
+require_once 'lib/classes/CronJob.php';
class GarbageCollectorJob extends CronJob
{
diff --git a/lib/cronjobs/purge_cache.php b/lib/cronjobs/purge_cache.php
index d2e3697..2e253e1 100644
--- a/lib/cronjobs/purge_cache.php
+++ b/lib/cronjobs/purge_cache.php
@@ -1,6 +1,6 @@
<?php
/**
- * purge_cache.class.php - Purges the file cache.
+ * purge_cache.php - Purges the file cache.
*
* @author André Noack <noack@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @author Jan-Hendrik Willms <tleilax+studip@gmail.com>
@@ -10,7 +10,7 @@
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// purge_cache.class.php
+// purge_cache.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
@@ -28,7 +28,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
-require_once 'lib/classes/CronJob.class.php';
+require_once 'lib/classes/CronJob.php';
class PurgeCacheJob extends CronJob
{
@@ -70,7 +70,7 @@ class PurgeCacheJob extends CronJob
*/
public function setUp()
{
- require_once 'lib/classes/cache/FileCache.class.php';
+ require_once 'lib/classes/cache/FileCache.php';
}
/**
diff --git a/lib/cronjobs/remind_oer_upload.php b/lib/cronjobs/remind_oer_upload.php
index a1a8ee1..528d789 100644
--- a/lib/cronjobs/remind_oer_upload.php
+++ b/lib/cronjobs/remind_oer_upload.php
@@ -1,13 +1,13 @@
<?php
/**
- * remind_oer_upload.class.php - Sends reminder emails for uploading files to OER Campus.
+ * remind_oer_upload.php - Sends reminder emails for uploading files to OER Campus.
*
* @author Michaela Brückner <brueckner@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
* @since 5.2
*/
-require_once 'lib/classes/CronJob.class.php';
+require_once 'lib/classes/CronJob.php';
class RemindOerUpload extends CronJob
{
diff --git a/lib/cronjobs/send_mail_queue.php b/lib/cronjobs/send_mail_queue.php
index 8f72918..f9cdd94 100644
--- a/lib/cronjobs/send_mail_queue.php
+++ b/lib/cronjobs/send_mail_queue.php
@@ -1,6 +1,6 @@
<?php
/**
-* send_mail_queue.class.php
+* send_mail_queue.php
*
* @author Rasmus Fuhse <fuhse@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
diff --git a/lib/cronjobs/session_gc.php b/lib/cronjobs/session_gc.php
index 4289a29..54763ee 100644
--- a/lib/cronjobs/session_gc.php
+++ b/lib/cronjobs/session_gc.php
@@ -1,6 +1,6 @@
<?php
/**
-* session_gc.class.php
+* session_gc.php
*
* @author André Noack <noack@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
diff --git a/lib/dbviews/range_tree.view.php b/lib/dbviews/range_tree.view.php
index 8d3af86..913330d 100644
--- a/lib/dbviews/range_tree.view.php
+++ b/lib/dbviews/range_tree.view.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// range_tree.view.class.php
+// range_tree.view.php
// Database views used with "range_tree"
//
// Copyright (c) 2002 André Noack <noack@data-quest.de>
diff --git a/lib/dbviews/sem_tree.view.php b/lib/dbviews/sem_tree.view.php
index 008ee93..8980e71 100644
--- a/lib/dbviews/sem_tree.view.php
+++ b/lib/dbviews/sem_tree.view.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// sem_tree.view.class.php
+// sem_tree.view.php
// Database views used with "sem_tree"
//
// Copyright (c) 2003 André Noack <noack@data-quest.de>
diff --git a/lib/elearning/ConnectedCMS.php b/lib/elearning/ConnectedCMS.php
index 3dd3bfb..f5617e8 100644
--- a/lib/elearning/ConnectedCMS.php
+++ b/lib/elearning/ConnectedCMS.php
@@ -100,15 +100,15 @@ class ConnectedCMS
public function initSubclasses()
{
if ($this->auth_necessary) {
- require_once $this->CLASS_PREFIX . "ConnectedUser.class.php";
+ require_once $this->CLASS_PREFIX . "ConnectedUser.php";
$classname = $this->CLASS_PREFIX . "ConnectedUser";
$this->user = new $classname($this->cms_type);
- require_once $this->CLASS_PREFIX . "ConnectedPermissions.class.php";
+ require_once $this->CLASS_PREFIX . "ConnectedPermissions.php";
$classname = $this->CLASS_PREFIX . "ConnectedPermissions";
$this->permissions = new $classname($this->cms_type);
}
- require_once $this->CLASS_PREFIX . "ConnectedLink.class.php";
+ require_once $this->CLASS_PREFIX . "ConnectedLink.php";
$classname = $this->CLASS_PREFIX . "ConnectedLink";
$this->link = new $classname($this->cms_type);
}
@@ -203,14 +203,14 @@ class ConnectedCMS
$el_path = $GLOBALS['STUDIP_BASE_PATH'] . '/lib/elearning';
// check if needed classes exist
$files = [
- 'class_link' => "{$el_path}/{$this->CLASS_PREFIX}ConnectedLink.class.php",
- 'class_content' => "{$el_path}/{$this->CLASS_PREFIX}ContentModule.class.php",
- 'class_cms' => "{$el_path}/{$this->CLASS_PREFIX}ConnectedCMS.class.php",
+ 'class_link' => "{$el_path}/{$this->CLASS_PREFIX}ConnectedLink.php",
+ 'class_content' => "{$el_path}/{$this->CLASS_PREFIX}ContentModule.php",
+ 'class_cms' => "{$el_path}/{$this->CLASS_PREFIX}ConnectedCMS.php",
];
if ($this->auth_necessary) {
- $files['class_user'] = "{$el_path}/{$this->CLASS_PREFIX}ConnectedUser.class.php";
- $files['class_perm'] = "{$el_path}/{$this->CLASS_PREFIX}ConnectedPermissions.class.php";
+ $files['class_user'] = "{$el_path}/{$this->CLASS_PREFIX}ConnectedUser.php";
+ $files['class_perm'] = "{$el_path}/{$this->CLASS_PREFIX}ConnectedPermissions.php";
}
$errors = 0;
@@ -281,7 +281,7 @@ class ConnectedCMS
global $current_module;
$current_module = $data["ref_id"];
- require_once($this->CLASS_PREFIX . "ContentModule.class.php");
+ require_once($this->CLASS_PREFIX . "ContentModule.php");
$classname = $this->CLASS_PREFIX . "ContentModule";
$this->content_module[$current_module] = new $classname("", $data["type"], $this->cms_type);
@@ -305,7 +305,7 @@ class ConnectedCMS
global $current_module;
$current_module = $module_id;
- require_once($this->CLASS_PREFIX . "ContentModule.class.php");
+ require_once($this->CLASS_PREFIX . "ContentModule.php");
$classname = $this->CLASS_PREFIX . "ContentModule";
if ($is_connected == false)
diff --git a/lib/elearning/ELearningUtils.php b/lib/elearning/ELearningUtils.php
index 33fb4a2..806cff9 100644
--- a/lib/elearning/ELearningUtils.php
+++ b/lib/elearning/ELearningUtils.php
@@ -26,7 +26,7 @@ class ELearningUtils
global $connected_cms, $ELEARNING_INTERFACE_MODULES;
if (!isset($connected_cms[$cms]) || !is_object($connected_cms[$cms])) {
- require_once "lib/elearning/{$ELEARNING_INTERFACE_MODULES[$cms]['CLASS_PREFIX']}ConnectedCMS.class.php";
+ require_once "lib/elearning/{$ELEARNING_INTERFACE_MODULES[$cms]['CLASS_PREFIX']}ConnectedCMS.php";
$classname = "{$ELEARNING_INTERFACE_MODULES[$cms]['CLASS_PREFIX']}ConnectedCMS";
$connected_cms[$cms] = new $classname($cms);
$connected_cms[$cms]->initSubclasses();
diff --git a/lib/elearning/Ilias3ConnectedCMS.php b/lib/elearning/Ilias3ConnectedCMS.php
index 3e428ff..759880a 100644
--- a/lib/elearning/Ilias3ConnectedCMS.php
+++ b/lib/elearning/Ilias3ConnectedCMS.php
@@ -44,7 +44,7 @@ class Ilias3ConnectedCMS extends ConnectedCMS
parent::__construct($cms);
- require_once($this->CLASS_PREFIX . "Soap.class.php");
+ require_once($this->CLASS_PREFIX . "Soap.php");
$classname = $this->CLASS_PREFIX . "Soap";
$this->soap_client = new $classname($this->cms_type);
$this->soap_client->setCachingStatus(true);
diff --git a/lib/elearning/PmWikiConnectedCMS.php b/lib/elearning/PmWikiConnectedCMS.php
index 7de0a78..d890126 100644
--- a/lib/elearning/PmWikiConnectedCMS.php
+++ b/lib/elearning/PmWikiConnectedCMS.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
/*
- * PmWikiConnectedCMS.class.php - Provides search capabilities
+ * PmWikiConnectedCMS.php - Provides search capabilities
* to search WikiFarm
*
* Copyright (C) 2006 - Marco Diedrich (mdiedric@uos.de)
diff --git a/lib/elearning/PmWikiConnectedLink.php b/lib/elearning/PmWikiConnectedLink.php
index 8ed7416..973c272 100644
--- a/lib/elearning/PmWikiConnectedLink.php
+++ b/lib/elearning/PmWikiConnectedLink.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
/*
- * PmWikiConnectedLink.class.php - Provides links to PmWiki Modules
+ * PmWikiConnectedLink.php - Provides links to PmWiki Modules
*
* Copyright (C) 2006 - Marco Diedrich (mdiedric@uos.de)
*
diff --git a/lib/elearning/PmWikiContentModule.php b/lib/elearning/PmWikiContentModule.php
index 06533dd..fb3cccd 100644
--- a/lib/elearning/PmWikiContentModule.php
+++ b/lib/elearning/PmWikiContentModule.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
/*
- * PmWikiContentModule.class.php - Provides access PmWiki Modules
+ * PmWikiContentModule.php - Provides access PmWiki Modules
*
* Copyright (C) 2006 - Marco Diedrich (mdiedric@uos.de)
*
diff --git a/lib/exceptions/ClipboardException.php b/lib/exceptions/ClipboardException.php
index 676da93..1c80175 100644
--- a/lib/exceptions/ClipboardException.php
+++ b/lib/exceptions/ClipboardException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ClipboardException.class.php
+ * ClipboardException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/StudipException.php b/lib/exceptions/StudipException.php
index e9bbf3d..369ba6f 100644
--- a/lib/exceptions/StudipException.php
+++ b/lib/exceptions/StudipException.php
@@ -1,7 +1,7 @@
<?php
/**
- * StudipException.class.php
+ * StudipException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/GlobalResourceLockException.php b/lib/exceptions/resources/GlobalResourceLockException.php
index 165843f..d12c2d8 100644
--- a/lib/exceptions/resources/GlobalResourceLockException.php
+++ b/lib/exceptions/resources/GlobalResourceLockException.php
@@ -1,7 +1,7 @@
<?php
/**
- * GlobalResourceLockException.class.php
+ * GlobalResourceLockException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/GlobalResourceLockOverlapException.php b/lib/exceptions/resources/GlobalResourceLockOverlapException.php
index 6b05cf5..b73a897 100644
--- a/lib/exceptions/resources/GlobalResourceLockOverlapException.php
+++ b/lib/exceptions/resources/GlobalResourceLockOverlapException.php
@@ -1,7 +1,7 @@
<?php
/**
- * GlobalResourceLockOverlapException.class.php
+ * GlobalResourceLockOverlapException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/InvalidResourceCategoryException.php b/lib/exceptions/resources/InvalidResourceCategoryException.php
index df4d36c..f2b1fe9 100644
--- a/lib/exceptions/resources/InvalidResourceCategoryException.php
+++ b/lib/exceptions/resources/InvalidResourceCategoryException.php
@@ -1,7 +1,7 @@
<?php
/**
- * InvalidResourceCategoryException.class.php
+ * InvalidResourceCategoryException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/InvalidResourceClassException.php b/lib/exceptions/resources/InvalidResourceClassException.php
index 8420a83..2c1f033 100644
--- a/lib/exceptions/resources/InvalidResourceClassException.php
+++ b/lib/exceptions/resources/InvalidResourceClassException.php
@@ -1,7 +1,7 @@
<?php
/**
- * InvalidResourceClassException.class.php
+ * InvalidResourceClassException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/InvalidResourceException.php b/lib/exceptions/resources/InvalidResourceException.php
index e9850b8..de61d24 100644
--- a/lib/exceptions/resources/InvalidResourceException.php
+++ b/lib/exceptions/resources/InvalidResourceException.php
@@ -1,7 +1,7 @@
<?php
/**
- * InvalidResourceException.class.php
+ * InvalidResourceException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/InvalidResourceRequestException.php b/lib/exceptions/resources/InvalidResourceRequestException.php
index 8ec9dab..8ee48b3 100644
--- a/lib/exceptions/resources/InvalidResourceRequestException.php
+++ b/lib/exceptions/resources/InvalidResourceRequestException.php
@@ -1,7 +1,7 @@
<?php
/**
- * InvalidResourceRequestException.class.php
+ * InvalidResourceRequestException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceBookingException.php b/lib/exceptions/resources/ResourceBookingException.php
index c1db11c..3dcf483 100644
--- a/lib/exceptions/resources/ResourceBookingException.php
+++ b/lib/exceptions/resources/ResourceBookingException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceBookingException.class.php
+ * ResourceBookingException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceBookingOverlapException.php b/lib/exceptions/resources/ResourceBookingOverlapException.php
index f59cc39..697cfc5 100644
--- a/lib/exceptions/resources/ResourceBookingOverlapException.php
+++ b/lib/exceptions/resources/ResourceBookingOverlapException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceBookingOverlapException.class.php
+ * ResourceBookingOverlapException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceBookingRangeException.php b/lib/exceptions/resources/ResourceBookingRangeException.php
index 50e7144..48e04a2 100644
--- a/lib/exceptions/resources/ResourceBookingRangeException.php
+++ b/lib/exceptions/resources/ResourceBookingRangeException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceBookingRangeException.class.php
+ * ResourceBookingRangeException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceException.php b/lib/exceptions/resources/ResourceException.php
index 686cc33..3f7a5ad 100644
--- a/lib/exceptions/resources/ResourceException.php
+++ b/lib/exceptions/resources/ResourceException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceException.class.php
+ * ResourceException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceNoTimeRangeException.php b/lib/exceptions/resources/ResourceNoTimeRangeException.php
index 891b583..f1c5f2c 100644
--- a/lib/exceptions/resources/ResourceNoTimeRangeException.php
+++ b/lib/exceptions/resources/ResourceNoTimeRangeException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceNoTimeRangeException.class.php
+ * ResourceNoTimeRangeException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourcePermissionException.php b/lib/exceptions/resources/ResourcePermissionException.php
index 3a0c919..add7385 100644
--- a/lib/exceptions/resources/ResourcePermissionException.php
+++ b/lib/exceptions/resources/ResourcePermissionException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePermissionException.class.php
+ * ResourcePermissionException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourcePropertyDefinitionException.php b/lib/exceptions/resources/ResourcePropertyDefinitionException.php
index 963ca64..5b96dd9 100644
--- a/lib/exceptions/resources/ResourcePropertyDefinitionException.php
+++ b/lib/exceptions/resources/ResourcePropertyDefinitionException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePropertyDefinitionException.class.php
+ * ResourcePropertyDefinitionException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourcePropertyException.php b/lib/exceptions/resources/ResourcePropertyException.php
index 83f871f..917c3b0 100644
--- a/lib/exceptions/resources/ResourcePropertyException.php
+++ b/lib/exceptions/resources/ResourcePropertyException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePropertyException.class.php
+ * ResourcePropertyException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourcePropertyStateException.php b/lib/exceptions/resources/ResourcePropertyStateException.php
index 1880265..b93d6da 100644
--- a/lib/exceptions/resources/ResourcePropertyStateException.php
+++ b/lib/exceptions/resources/ResourcePropertyStateException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePropertyStateException.class.php
+ * ResourcePropertyStateException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceRequestException.php b/lib/exceptions/resources/ResourceRequestException.php
index 1e8d071..ffd238c 100644
--- a/lib/exceptions/resources/ResourceRequestException.php
+++ b/lib/exceptions/resources/ResourceRequestException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceRequestException.class.php
+ * ResourceRequestException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceUnavailableException.php b/lib/exceptions/resources/ResourceUnavailableException.php
index b335d14..86f33c7 100644
--- a/lib/exceptions/resources/ResourceUnavailableException.php
+++ b/lib/exceptions/resources/ResourceUnavailableException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceUnavailableException.class.php
+ * ResourceUnavailableException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/ResourceUnlockableException.php b/lib/exceptions/resources/ResourceUnlockableException.php
index 11bc92b..968729f 100644
--- a/lib/exceptions/resources/ResourceUnlockableException.php
+++ b/lib/exceptions/resources/ResourceUnlockableException.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceUnlockableException.class.php
+ * ResourceUnlockableException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/exceptions/resources/SeparableRoomException.php b/lib/exceptions/resources/SeparableRoomException.php
index 78c9912..91a8c10 100644
--- a/lib/exceptions/resources/SeparableRoomException.php
+++ b/lib/exceptions/resources/SeparableRoomException.php
@@ -1,7 +1,7 @@
<?php
/**
- * SeparableRoomException.class.php
+ * SeparableRoomException.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/filesystem/FileArchiveManager.php b/lib/filesystem/FileArchiveManager.php
index 704bb44..aded83c 100644
--- a/lib/filesystem/FileArchiveManager.php
+++ b/lib/filesystem/FileArchiveManager.php
@@ -1,6 +1,6 @@
<?php
/**
- * FileArchiveManager.class.php
+ * FileArchiveManager.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/filesystem/HomeworkFolder.php b/lib/filesystem/HomeworkFolder.php
index fb93ef8..f46b4a0 100644
--- a/lib/filesystem/HomeworkFolder.php
+++ b/lib/filesystem/HomeworkFolder.php
@@ -1,6 +1,6 @@
<?php
/**
- * HomeworkFolder.class.php
+ * HomeworkFolder.php
*
* This is a FolderType implementation for homework folders.
*
diff --git a/lib/filesystem/InboxFolder.php b/lib/filesystem/InboxFolder.php
index 428bea5..d692158 100644
--- a/lib/filesystem/InboxFolder.php
+++ b/lib/filesystem/InboxFolder.php
@@ -1,6 +1,6 @@
<?php
/**
- * InboxFolder.class.php
+ * InboxFolder.php
*
* This is a FolderType implementation for file attachments of messages
* that were received by a user. It is a read-only folder.
diff --git a/lib/filesystem/InboxOutboxFolder.php b/lib/filesystem/InboxOutboxFolder.php
index 6a8f2fd..33ba6d2 100644
--- a/lib/filesystem/InboxOutboxFolder.php
+++ b/lib/filesystem/InboxOutboxFolder.php
@@ -1,6 +1,6 @@
<?php
/**
- * InboxOutboxFolder.class.php
+ * InboxOutboxFolder.php
*
* This is a common FolderType implementation for inbox and outbox folders.
* It it not meant to be used directly! Instead use the InboxFolder and
diff --git a/lib/filesystem/MessageFolder.php b/lib/filesystem/MessageFolder.php
index 2e5c3af..2dfef0c 100644
--- a/lib/filesystem/MessageFolder.php
+++ b/lib/filesystem/MessageFolder.php
@@ -1,6 +1,6 @@
<?php
/**
- * MessageFolder.class.php
+ * MessageFolder.php
*
* This is a FolderType implementation for message folders.
* A message folder contains the attachments of a Stud.IP message.
diff --git a/lib/filesystem/OutboxFolder.php b/lib/filesystem/OutboxFolder.php
index 22170d5..5487258 100644
--- a/lib/filesystem/OutboxFolder.php
+++ b/lib/filesystem/OutboxFolder.php
@@ -1,6 +1,6 @@
<?php
/**
- * OutboxFolder.class.php
+ * OutboxFolder.php
*
* This is a FolderType implementation for file attachments of messages
* that were sent by a user. It is a read-only folder.
diff --git a/lib/models/AdmissionApplication.php b/lib/models/AdmissionApplication.php
index 02514ec..7e8c3f5 100644
--- a/lib/models/AdmissionApplication.php
+++ b/lib/models/AdmissionApplication.php
@@ -1,6 +1,6 @@
<?php
/**
- * AdmissionApplication.class.php
+ * AdmissionApplication.php
* model class for table admission_seminar_user
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/ArchivedCourse.php b/lib/models/ArchivedCourse.php
index 81879af..f3b2de8 100644
--- a/lib/models/ArchivedCourse.php
+++ b/lib/models/ArchivedCourse.php
@@ -1,6 +1,6 @@
<?php
/**
- * ArchivedCourse.class.php
+ * ArchivedCourse.php
* model class for table archiv
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/ArchivedCourseMember.php b/lib/models/ArchivedCourseMember.php
index 1febd35..e54de91 100644
--- a/lib/models/ArchivedCourseMember.php
+++ b/lib/models/ArchivedCourseMember.php
@@ -1,6 +1,6 @@
<?php
/**
- * ArchivedCourseMember.class.php
+ * ArchivedCourseMember.php
* model class for table seminar_user
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/AuthUserMd5.php b/lib/models/AuthUserMd5.php
index 48e27f8..d8b7c53 100644
--- a/lib/models/AuthUserMd5.php
+++ b/lib/models/AuthUserMd5.php
@@ -1,6 +1,6 @@
<?php
/**
- * AuthUserMd5.class.php
+ * AuthUserMd5.php
* model class for table auth_user_md5
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/BannerRoles.php b/lib/models/BannerRoles.php
index d1c2986..a460986 100644
--- a/lib/models/BannerRoles.php
+++ b/lib/models/BannerRoles.php
@@ -1,7 +1,7 @@
<?php
/**
- * BannerRoles.class.php - model class for the banner roles
+ * BannerRoles.php - model class for the banner roles
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/Clipboard.php b/lib/models/Clipboard.php
index cd8fe89..01282cc 100644
--- a/lib/models/Clipboard.php
+++ b/lib/models/Clipboard.php
@@ -2,7 +2,7 @@
/**
- * Clipboard.class.php - model class for a clipboard (Merkzettel)
+ * Clipboard.php - model class for a clipboard (Merkzettel)
*
* The Clipboard class extends the wish list functionality of the clipboard
* in the old literature management to allow it to be used in other areas of the
diff --git a/lib/models/ClipboardItem.php b/lib/models/ClipboardItem.php
index 888250f..a19eeaf 100644
--- a/lib/models/ClipboardItem.php
+++ b/lib/models/ClipboardItem.php
@@ -1,6 +1,6 @@
<?php
/**
- * ClipboardItem.class.php - model class for clipboard items
+ * ClipboardItem.php - model class for clipboard items
* (Merkzettel-Einträge)
*
* The ClipboardItem class holds single items of a clipboard.
diff --git a/lib/models/ColourValue.php b/lib/models/ColourValue.php
index 6ae05ad..486de45 100644
--- a/lib/models/ColourValue.php
+++ b/lib/models/ColourValue.php
@@ -1,7 +1,7 @@
<?php
/**
- * ColorValue.class.php
+ * ColorValue.php
* model class for table color_values
*
* Objects of this class holds a colour's name (its purpose)
diff --git a/lib/models/ConfigEntry.php b/lib/models/ConfigEntry.php
index 5e06da8..dd0efa4 100644
--- a/lib/models/ConfigEntry.php
+++ b/lib/models/ConfigEntry.php
@@ -1,6 +1,6 @@
<?php
/**
- * ConfigEntry.class.php
+ * ConfigEntry.php
* model class for table user_config
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/Contact.php b/lib/models/Contact.php
index 16bff26..bea5b95 100644
--- a/lib/models/Contact.php
+++ b/lib/models/Contact.php
@@ -1,7 +1,7 @@
<?php
/**
- * Contact.class.php - model class for table contact
+ * Contact.php - model class for table contact
*
* @author <mlunzena@uos.de>
* @license GPL 2 or later
diff --git a/lib/models/ContentTermsOfUse.php b/lib/models/ContentTermsOfUse.php
index fb2e592..1982dd6 100644
--- a/lib/models/ContentTermsOfUse.php
+++ b/lib/models/ContentTermsOfUse.php
@@ -1,6 +1,6 @@
<?php
/**
- * ContentTermsOfUse.class.php
+ * ContentTermsOfUse.php
* model class for table licenses
*
* The ContentTermsOfUse class provides information about the terms under which
diff --git a/lib/models/Course.php b/lib/models/Course.php
index bfea7a0..d8bb2f5 100644
--- a/lib/models/Course.php
+++ b/lib/models/Course.php
@@ -1,6 +1,6 @@
<?php
/**
- * Course.class.php
+ * Course.php
* model class for table seminare
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/CourseMember.php b/lib/models/CourseMember.php
index cd7555f..7c4b335 100644
--- a/lib/models/CourseMember.php
+++ b/lib/models/CourseMember.php
@@ -1,6 +1,6 @@
<?php
/**
- * CourseMember.class.php
+ * CourseMember.php
* model class for table seminar_user
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/CourseMemberNotification.php b/lib/models/CourseMemberNotification.php
index e72ba76..5e1b544 100644
--- a/lib/models/CourseMemberNotification.php
+++ b/lib/models/CourseMemberNotification.php
@@ -1,6 +1,6 @@
<?php
/**
- * CourseMemberNotification.class.php
+ * CourseMemberNotification.php
* model class for table seminar_user_notification
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/Courseware/BlockTypes/Text.php b/lib/models/Courseware/BlockTypes/Text.php
index 917efb3..1da7cbe 100644
--- a/lib/models/Courseware/BlockTypes/Text.php
+++ b/lib/models/Courseware/BlockTypes/Text.php
@@ -2,8 +2,6 @@
namespace Courseware\BlockTypes;
-require_once 'lib/classes/Markup.class.php';
-
/**
* This class represents the content of a Courseware text block.
*
diff --git a/lib/models/CronjobLog.php b/lib/models/CronjobLog.php
index c9e92f7..278a515 100644
--- a/lib/models/CronjobLog.php
+++ b/lib/models/CronjobLog.php
@@ -1,7 +1,7 @@
<?php
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CronjobLog.class.php
+// CronjobLog.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
diff --git a/lib/models/CronjobSchedule.php b/lib/models/CronjobSchedule.php
index 0eb19ba..08a18d3 100644
--- a/lib/models/CronjobSchedule.php
+++ b/lib/models/CronjobSchedule.php
@@ -1,7 +1,7 @@
<?php
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CronjobSchedule.class.php
+// CronjobSchedule.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
diff --git a/lib/models/CronjobTask.php b/lib/models/CronjobTask.php
index 8a56ca0..1304bc1 100644
--- a/lib/models/CronjobTask.php
+++ b/lib/models/CronjobTask.php
@@ -1,7 +1,7 @@
<?php
// +---------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CronjobSchedule.class.php
+// CronjobSchedule.php
//
// Copyright (C) 2013 Jan-Hendrik Willms <tleilax+studip@gmail.com>
// +---------------------------------------------------------------------------+
diff --git a/lib/models/Degree.php b/lib/models/Degree.php
index 6fef834..9c908d3 100644
--- a/lib/models/Degree.php
+++ b/lib/models/Degree.php
@@ -1,6 +1,6 @@
<?php
/**
- * Degree.class.php
+ * Degree.php
* model class for table studiengang
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/Deputy.php b/lib/models/Deputy.php
index e2917e7..c74c741 100644
--- a/lib/models/Deputy.php
+++ b/lib/models/Deputy.php
@@ -1,6 +1,6 @@
<?php
/**
- * Deputy.class.php
+ * Deputy.php
* model class for table deputies
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/HelpContent.php b/lib/models/HelpContent.php
index f1e61b1..e9a6f47 100644
--- a/lib/models/HelpContent.php
+++ b/lib/models/HelpContent.php
@@ -21,7 +21,7 @@
//require_once 'lib/object.inc.php';
/**
- * HelpContent.class.php - model class for Stud.IP help content
+ * HelpContent.php - model class for Stud.IP help content
*
* @author Arne Schröder <schroeder@data-quest>
* @access public
diff --git a/lib/models/HelpTour.php b/lib/models/HelpTour.php
index 68bd830..978e203 100644
--- a/lib/models/HelpTour.php
+++ b/lib/models/HelpTour.php
@@ -21,7 +21,7 @@
require_once 'lib/object.inc.php';
/**
- * HelpTour.class.php - model class for Stud.IP tours
+ * HelpTour.php - model class for Stud.IP tours
*
*
*
diff --git a/lib/models/HelpTourAudience.php b/lib/models/HelpTourAudience.php
index 6255a46..f341196 100644
--- a/lib/models/HelpTourAudience.php
+++ b/lib/models/HelpTourAudience.php
@@ -19,7 +19,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
/**
- * HelpTourSteps.class.php - model class for tour audiences
+ * HelpTourSteps.php - model class for tour audiences
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/HelpTourSettings.php b/lib/models/HelpTourSettings.php
index f24c86b..1cac957 100644
--- a/lib/models/HelpTourSettings.php
+++ b/lib/models/HelpTourSettings.php
@@ -19,7 +19,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
/**
- * HelpTourSteps.class.php - model class for tour steps
+ * HelpTourSteps.php - model class for tour steps
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/HelpTourStep.php b/lib/models/HelpTourStep.php
index 6f31326..3bd5ad8 100644
--- a/lib/models/HelpTourStep.php
+++ b/lib/models/HelpTourStep.php
@@ -19,7 +19,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
/**
- * HelpTourSteps.class.php - model class for tour steps
+ * HelpTourSteps.php - model class for tour steps
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -104,4 +104,3 @@ class HelpTourStep extends SimpleORMap
return true;
}
}
-
diff --git a/lib/models/HelpTourUser.php b/lib/models/HelpTourUser.php
index aa2869d..4992225 100644
--- a/lib/models/HelpTourUser.php
+++ b/lib/models/HelpTourUser.php
@@ -19,7 +19,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// +---------------------------------------------------------------------------+
/**
- * HelpTourUser.class.php - model class for tour user visits
+ * HelpTourUser.php - model class for tour user visits
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/Institute.php b/lib/models/Institute.php
index 47cf271..df344ff 100644
--- a/lib/models/Institute.php
+++ b/lib/models/Institute.php
@@ -1,6 +1,6 @@
<?php
/**
- * Institute.class.php - model class for table Institute
+ * Institute.php - model class for table Institute
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/LockRule.php b/lib/models/LockRule.php
index a3ef271..83dec60 100644
--- a/lib/models/LockRule.php
+++ b/lib/models/LockRule.php
@@ -1,6 +1,6 @@
<?php
/**
- * LockRule.class.php
+ * LockRule.php
* model class for table lock_rule
* this class represents one record of the lock_rules table
* the column attributes is converted to an ArrayObject and vice-versa,
diff --git a/lib/models/LoginBackground.php b/lib/models/LoginBackground.php
index 3ede275..530ae42 100644
--- a/lib/models/LoginBackground.php
+++ b/lib/models/LoginBackground.php
@@ -1,6 +1,6 @@
<?php
/**
- * LoginBackground.class.php
+ * LoginBackground.php
* model class for table loginbackgrounds
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/LoginFaq.php b/lib/models/LoginFaq.php
index d6cad40..4c049ac 100644
--- a/lib/models/LoginFaq.php
+++ b/lib/models/LoginFaq.php
@@ -1,6 +1,6 @@
<?php
/**
- * LoginFaq.class.php
+ * LoginFaq.php
* model class for table login_faq
*
*
diff --git a/lib/models/Message.php b/lib/models/Message.php
index 46493d6..fb6b78e 100644
--- a/lib/models/Message.php
+++ b/lib/models/Message.php
@@ -1,6 +1,6 @@
<?php
/**
- * Message.class.php
+ * Message.php
* model class for table message
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/MessageUser.php b/lib/models/MessageUser.php
index 0ae6dd5..1715de1 100644
--- a/lib/models/MessageUser.php
+++ b/lib/models/MessageUser.php
@@ -1,6 +1,6 @@
<?php
/**
- * MessageUser.class.php
+ * MessageUser.php
* model class for table message_user
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/MvvOverlappingConflict.php b/lib/models/MvvOverlappingConflict.php
index 6ac8e29..54b367f 100644
--- a/lib/models/MvvOverlappingConflict.php
+++ b/lib/models/MvvOverlappingConflict.php
@@ -1,6 +1,6 @@
<?php
/**
- * MvvOverlappingConflict.class.php - model class for table mvv_ovl_conflicts
+ * MvvOverlappingConflict.php - model class for table mvv_ovl_conflicts
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/MvvOverlappingExclude.php b/lib/models/MvvOverlappingExclude.php
index d199e30..6cde414 100644
--- a/lib/models/MvvOverlappingExclude.php
+++ b/lib/models/MvvOverlappingExclude.php
@@ -1,7 +1,7 @@
<?php
/**
- * MvvOverlappingExclude.class.php - model class for table mvv_ovl_excludes
+ * MvvOverlappingExclude.php - model class for table mvv_ovl_excludes
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -46,4 +46,3 @@ class MvvOverlappingExclude extends SimpleORMap
}
}
-
diff --git a/lib/models/MvvOverlappingSelection.php b/lib/models/MvvOverlappingSelection.php
index 9d159e2..b3fcc15 100644
--- a/lib/models/MvvOverlappingSelection.php
+++ b/lib/models/MvvOverlappingSelection.php
@@ -1,6 +1,6 @@
<?php
/**
- * MvvOverlappingSelection.class.php - model class for table mvv_ovl_selections
+ * MvvOverlappingSelection.php - model class for table mvv_ovl_selections
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/NewsRange.php b/lib/models/NewsRange.php
index 7785214..675478f 100644
--- a/lib/models/NewsRange.php
+++ b/lib/models/NewsRange.php
@@ -1,6 +1,6 @@
<?php
/**
- * NewsRange.class.php - model class for table Institute
+ * NewsRange.php - model class for table Institute
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/NewsRoles.php b/lib/models/NewsRoles.php
index 56da6ec..28a4064 100644
--- a/lib/models/NewsRoles.php
+++ b/lib/models/NewsRoles.php
@@ -1,7 +1,7 @@
<?php
/**
- * NewsRoles.class.php - model class for the news roles
+ * NewsRoles.php - model class for the news roles
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/Semester.php b/lib/models/Semester.php
index 03243a5..ef3246b 100644
--- a/lib/models/Semester.php
+++ b/lib/models/Semester.php
@@ -1,7 +1,7 @@
<?php
/**
- * Semester.class.php
+ * Semester.php
* model class for table semester_data
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/SemesterCourse.php b/lib/models/SemesterCourse.php
index 04590e3..79e5230 100644
--- a/lib/models/SemesterCourse.php
+++ b/lib/models/SemesterCourse.php
@@ -1,6 +1,6 @@
<?php
/**
- * SemesterCourse.class.php
+ * SemesterCourse.php
* Contains the SemesterCourse model.
*
* This class represents entries in the mapping table
diff --git a/lib/models/SemesterHoliday.php b/lib/models/SemesterHoliday.php
index 90f9ecd..265f8e1 100644
--- a/lib/models/SemesterHoliday.php
+++ b/lib/models/SemesterHoliday.php
@@ -1,6 +1,6 @@
<?php
/**
- * SemesterHoliday.class.php
+ * SemesterHoliday.php
* model class for table semester_holiday
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/SeminarCycleDate.php b/lib/models/SeminarCycleDate.php
index f384426..b8431a3 100644
--- a/lib/models/SeminarCycleDate.php
+++ b/lib/models/SeminarCycleDate.php
@@ -6,7 +6,7 @@ require_once 'lib/dates.inc.php';
/**
- * SeminarCycleDate.class.php
+ * SeminarCycleDate.php
* model class for table seminar_cycle_dates
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/StudipComment.php b/lib/models/StudipComment.php
index 2e0389d..79610f8 100644
--- a/lib/models/StudipComment.php
+++ b/lib/models/StudipComment.php
@@ -23,7 +23,7 @@
// +---------------------------------------------------------------------------+
/**
- * StudipComment.class.php
+ * StudipComment.php
*
*
*
diff --git a/lib/models/StudipNews.php b/lib/models/StudipNews.php
index 12eb3e1..ccb1828 100644
--- a/lib/models/StudipNews.php
+++ b/lib/models/StudipNews.php
@@ -21,7 +21,7 @@
require_once 'lib/object.inc.php';
/**
- * StudipNews.class.php
+ * StudipNews.php
*
* @author André Noack <noack@data-quest>, Suchi & Berg GmbH <info@data-quest.de>
* @author Arne Schröder <schroeder@data-quest>
diff --git a/lib/models/StudipScmEntry.php b/lib/models/StudipScmEntry.php
index 7001a4a..30c13d3 100644
--- a/lib/models/StudipScmEntry.php
+++ b/lib/models/StudipScmEntry.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudipScmEntry.class.php
+ * StudipScmEntry.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/StudyCourse.php b/lib/models/StudyCourse.php
index faf6df4..91937ea 100644
--- a/lib/models/StudyCourse.php
+++ b/lib/models/StudyCourse.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudyCourse.class.php
+ * StudyCourse.php
* model class for table studiengang
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/ToolActivation.php b/lib/models/ToolActivation.php
index a4a4de2..4209a20 100644
--- a/lib/models/ToolActivation.php
+++ b/lib/models/ToolActivation.php
@@ -1,6 +1,6 @@
<?php
/**
- * ToolActivation.class.php
+ * ToolActivation.php
* model class for table tools_activated
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/User.php b/lib/models/User.php
index 4894031..3fcc3f5 100644
--- a/lib/models/User.php
+++ b/lib/models/User.php
@@ -1,6 +1,6 @@
<?php
/**
- * User.class.php
+ * User.php
* model class for combined auth_user_md5/user_info record
* this class represents one user, the attributes from tables
* auth_user_md5 and user_info were merged.
@@ -395,7 +395,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject, Studip\Calendar\
}
/**
- * Temporary migrate to User.class.php
+ * Temporary migrate to User.php
*
* @param $attributes
* @return array
diff --git a/lib/models/UserInfo.php b/lib/models/UserInfo.php
index 28808a2..62a63fc 100644
--- a/lib/models/UserInfo.php
+++ b/lib/models/UserInfo.php
@@ -1,6 +1,6 @@
<?php
/**
- * UserInfo.class.php
+ * UserInfo.php
* model class for table user_info
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/UserOnline.php b/lib/models/UserOnline.php
index e18322d..c3efba2 100644
--- a/lib/models/UserOnline.php
+++ b/lib/models/UserOnline.php
@@ -1,7 +1,7 @@
<?php
/**
- * UserOnline.class.php
+ * UserOnline.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -24,4 +24,4 @@ class UserOnline extends SimpleORMap
$config['db_table'] = 'user_online';
parent::configure($config);
}
-} \ No newline at end of file
+}
diff --git a/lib/models/UserStudyCourse.php b/lib/models/UserStudyCourse.php
index cac37c8..aeac38b 100644
--- a/lib/models/UserStudyCourse.php
+++ b/lib/models/UserStudyCourse.php
@@ -1,6 +1,6 @@
<?php
/**
- * UserStudyCourse.class.php
+ * UserStudyCourse.php
* model class for table user_studiengang
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/WebserviceAccessRule.php b/lib/models/WebserviceAccessRule.php
index 48da0ef..120ac47 100644
--- a/lib/models/WebserviceAccessRule.php
+++ b/lib/models/WebserviceAccessRule.php
@@ -1,6 +1,6 @@
<?php
/**
- * WebserviceAccessRule.class.php
+ * WebserviceAccessRule.php
* model class for table webservice_access_rules
* this class represents one record of the table webservice_access_rules
* the column ip_range is converted from a comma separated list to an ArrayObject and vice-versa,
diff --git a/lib/models/WikiPage.php b/lib/models/WikiPage.php
index 67ddd7e..b5f0101 100644
--- a/lib/models/WikiPage.php
+++ b/lib/models/WikiPage.php
@@ -1,6 +1,6 @@
<?php
/**
- * WikiPage.class.php
+ * WikiPage.php
* model class for table wiki
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/calendar/CalendarDate.php b/lib/models/calendar/CalendarDate.php
index d901cf1..0318dab 100644
--- a/lib/models/calendar/CalendarDate.php
+++ b/lib/models/calendar/CalendarDate.php
@@ -1,6 +1,6 @@
<?php
/**
- * CalendarDate.class.php - Model class for calendar dates.
+ * CalendarDate.php - Model class for calendar dates.
*
* CalendarDate represents a date in the personal calendar.
*
diff --git a/lib/models/calendar/CalendarDateAssignment.php b/lib/models/calendar/CalendarDateAssignment.php
index e0bf467..e0e2135 100644
--- a/lib/models/calendar/CalendarDateAssignment.php
+++ b/lib/models/calendar/CalendarDateAssignment.php
@@ -1,6 +1,6 @@
<?php
/**
- * CalendarDateAssignment.class.php - Model class for calendar date assignments.
+ * CalendarDateAssignment.php - Model class for calendar date assignments.
*
* CalendarDateAssignment represents the assignment of a calendar date
* to a specific calendar. The calendar is represented by a range-ID
diff --git a/lib/models/resources/BrokenResource.php b/lib/models/resources/BrokenResource.php
index 5266b4f..fc44e82 100644
--- a/lib/models/resources/BrokenResource.php
+++ b/lib/models/resources/BrokenResource.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceLabel.class.php - model class for a resource label
+ * ResourceLabel.php - model class for a resource label
*
* The BrokenResource class represents resources whose class
* cannot be found due to missing Resource specialisations
diff --git a/lib/models/resources/Building.php b/lib/models/resources/Building.php
index 0edb983..a1c071a 100644
--- a/lib/models/resources/Building.php
+++ b/lib/models/resources/Building.php
@@ -1,7 +1,7 @@
<?php
/**
- * Building.class.php - model class for a resource which is a building
+ * Building.php - model class for a resource which is a building
*
* The building class is a derived class from the Resource class
* which includes specialisations for Building resource types.
diff --git a/lib/models/resources/GlobalResourceLock.php b/lib/models/resources/GlobalResourceLock.php
index b1753f5..ed748e1 100644
--- a/lib/models/resources/GlobalResourceLock.php
+++ b/lib/models/resources/GlobalResourceLock.php
@@ -1,7 +1,7 @@
<?php
/**
- * GlobalResourceLock.class.php - model class for resource locks
+ * GlobalResourceLock.php - model class for resource locks
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/Location.php b/lib/models/resources/Location.php
index 8e79382..9da2e11 100644
--- a/lib/models/resources/Location.php
+++ b/lib/models/resources/Location.php
@@ -1,7 +1,7 @@
<?php
/**
- * Location.class.php - model class for a resource which is a location
+ * Location.php - model class for a resource which is a location
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/Resource.php b/lib/models/resources/Resource.php
index 92d8107..32fce2b 100644
--- a/lib/models/resources/Resource.php
+++ b/lib/models/resources/Resource.php
@@ -1,7 +1,7 @@
<?php
/**
- * Resource.class.php - model class for a resource
+ * Resource.php - model class for a resource
*
* The Resource class is the base class of the new
* Room and Resource management system in Stud.IP.
diff --git a/lib/models/resources/ResourceBooking.php b/lib/models/resources/ResourceBooking.php
index 8950713..977cf32 100644
--- a/lib/models/resources/ResourceBooking.php
+++ b/lib/models/resources/ResourceBooking.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceBooking.class.php - model class for resource bookings
+ * ResourceBooking.php - model class for resource bookings
*
* The ResourceBooking class is responsible for storing
* bookings of resources in a specified time range
diff --git a/lib/models/resources/ResourceBookingInterval.php b/lib/models/resources/ResourceBookingInterval.php
index 7908e40..47f01cc 100644
--- a/lib/models/resources/ResourceBookingInterval.php
+++ b/lib/models/resources/ResourceBookingInterval.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceBookingInterval.class.php - model class for storing
+ * ResourceBookingInterval.php - model class for storing
* all resource bookings time intervals, including those for
* repetitions.
*
diff --git a/lib/models/resources/ResourceCategory.php b/lib/models/resources/ResourceCategory.php
index 766a5f6..cfe323a 100644
--- a/lib/models/resources/ResourceCategory.php
+++ b/lib/models/resources/ResourceCategory.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceCategory.class.php - model class for resource categories
+ * ResourceCategory.php - model class for resource categories
*
* The ResourceCategory class can be used as a Factory for
* Resource objects.
diff --git a/lib/models/resources/ResourceCategoryProperty.php b/lib/models/resources/ResourceCategoryProperty.php
index b1460cd..c9ac66e 100644
--- a/lib/models/resources/ResourceCategoryProperty.php
+++ b/lib/models/resources/ResourceCategoryProperty.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceCategoryProperty.class.php - model class for
+ * ResourceCategoryProperty.php - model class for
* resource category properties
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/resources/ResourceLabel.php b/lib/models/resources/ResourceLabel.php
index d9c869f..c465723 100644
--- a/lib/models/resources/ResourceLabel.php
+++ b/lib/models/resources/ResourceLabel.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceLabel.class.php - model class for a resource label
+ * ResourceLabel.php - model class for a resource label
*
* The ResourceLabel class represents headings or subheadings whose
* only purpose is helping with organising the resource tree.
diff --git a/lib/models/resources/ResourcePermission.php b/lib/models/resources/ResourcePermission.php
index bd33708..044db83 100644
--- a/lib/models/resources/ResourcePermission.php
+++ b/lib/models/resources/ResourcePermission.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePermission.class.php - model class for resource permissions.
+ * ResourcePermission.php - model class for resource permissions.
*
* Description of the resources permission system:
* - admin: An admin may do everything in the resource management:
diff --git a/lib/models/resources/ResourceProperty.php b/lib/models/resources/ResourceProperty.php
index 4bbc4ec..4f7a329 100644
--- a/lib/models/resources/ResourceProperty.php
+++ b/lib/models/resources/ResourceProperty.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceProperty.class.php - model class for resource properties
+ * ResourceProperty.php - model class for resource properties
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/ResourcePropertyDefinition.php b/lib/models/resources/ResourcePropertyDefinition.php
index 450ec00..b87e8e6 100644
--- a/lib/models/resources/ResourcePropertyDefinition.php
+++ b/lib/models/resources/ResourcePropertyDefinition.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePropertyDefinition.class.php - model class for resource property definitions
+ * ResourcePropertyDefinition.php - model class for resource property definitions
*
* The ResourcePropertyDefinition class can be used as a Factory
* for ResourceProperty objects.
diff --git a/lib/models/resources/ResourcePropertyGroup.php b/lib/models/resources/ResourcePropertyGroup.php
index ad53902..f6ea825 100644
--- a/lib/models/resources/ResourcePropertyGroup.php
+++ b/lib/models/resources/ResourcePropertyGroup.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourcePropertyGroup.class.php - model class for resource property groups
+ * ResourcePropertyGroup.php - model class for resource property groups
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/ResourceRequest.php b/lib/models/resources/ResourceRequest.php
index b2f5524..df77b19 100644
--- a/lib/models/resources/ResourceRequest.php
+++ b/lib/models/resources/ResourceRequest.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceRequest.class.php - Contains a model class for resource requests.
+ * ResourceRequest.php - Contains a model class for resource requests.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/ResourceRequestAppointment.php b/lib/models/resources/ResourceRequestAppointment.php
index 929733b..63384a2 100644
--- a/lib/models/resources/ResourceRequestAppointment.php
+++ b/lib/models/resources/ResourceRequestAppointment.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceRequestAppointment.class.php - Contains a model class for
+ * ResourceRequestAppointment.php - Contains a model class for
* the resource_request_appointments table.
*
* ResourceRequestAppointment is a model class to connect
diff --git a/lib/models/resources/ResourceRequestProperty.php b/lib/models/resources/ResourceRequestProperty.php
index 2952be9..c387daa 100644
--- a/lib/models/resources/ResourceRequestProperty.php
+++ b/lib/models/resources/ResourceRequestProperty.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceRequestProperty.class.php - model class for
+ * ResourceRequestProperty.php - model class for
* resource request properties
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/models/resources/ResourceTemporaryPermission.php b/lib/models/resources/ResourceTemporaryPermission.php
index ddbc397..ad7b33a 100644
--- a/lib/models/resources/ResourceTemporaryPermission.php
+++ b/lib/models/resources/ResourceTemporaryPermission.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceTemporaryPermission.class.php
+ * ResourceTemporaryPermission.php
* Contains the ResourceTemporaryPermission class
*
* The ResourceTemporaryPermission class represents temporary permissions
diff --git a/lib/models/resources/Room.php b/lib/models/resources/Room.php
index 7f1668e..c8e393c 100644
--- a/lib/models/resources/Room.php
+++ b/lib/models/resources/Room.php
@@ -1,7 +1,7 @@
<?php
/**
- * Room.class.php - model class for a resource which is a room
+ * Room.php - model class for a resource which is a room
*
* The Room class is a derived class of the Resource class.
* It containts specialisations for room resources.
diff --git a/lib/models/resources/RoomRequest.php b/lib/models/resources/RoomRequest.php
index 6db9c38..4ba11bc 100644
--- a/lib/models/resources/RoomRequest.php
+++ b/lib/models/resources/RoomRequest.php
@@ -1,7 +1,7 @@
<?php
/**
- * RoomRequest.class.php - model class for table resource_requests
+ * RoomRequest.php - model class for table resource_requests
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/SeparableRoom.php b/lib/models/resources/SeparableRoom.php
index 9ec1ccf..d1bf125 100644
--- a/lib/models/resources/SeparableRoom.php
+++ b/lib/models/resources/SeparableRoom.php
@@ -1,7 +1,7 @@
<?php
/**
- * SeparableRoom.class.php - model class for a separable room
+ * SeparableRoom.php - model class for a separable room
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/models/resources/SeparableRoomPart.php b/lib/models/resources/SeparableRoomPart.php
index e7e99e7..8a45ce7 100644
--- a/lib/models/resources/SeparableRoomPart.php
+++ b/lib/models/resources/SeparableRoomPart.php
@@ -1,7 +1,7 @@
<?php
/**
- * SeparableRoomItem.class.php - model class for a separable room item
+ * SeparableRoomItem.php - model class for a separable room item
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/modules/CoreForum.php b/lib/modules/CoreForum.php
index 3a43372..0283a09 100644
--- a/lib/modules/CoreForum.php
+++ b/lib/modules/CoreForum.php
@@ -1,6 +1,6 @@
<?php
/*
- * Forum.class.php - Forum
+ * Forum.php - Forum
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/modules/FeedbackModule.php b/lib/modules/FeedbackModule.php
index 8674f62..2fc657d 100644
--- a/lib/modules/FeedbackModule.php
+++ b/lib/modules/FeedbackModule.php
@@ -1,7 +1,7 @@
<?php
/**
- * FeedbackModule.class.php - Feedback Elements for Stud.IP as Module.
+ * FeedbackModule.php - Feedback Elements for Stud.IP as Module.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/modules/GradebookModule.php b/lib/modules/GradebookModule.php
index 66886a2..45cd93e 100644
--- a/lib/modules/GradebookModule.php
+++ b/lib/modules/GradebookModule.php
@@ -4,7 +4,7 @@ use Grading\Definition;
use Grading\Instance;
/**
- * GradebookModule.class.php - Gradebook API for Stud.IP.
+ * GradebookModule.php - Gradebook API for Stud.IP.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/modules/LtiToolModule.php b/lib/modules/LtiToolModule.php
index 033f5e8..74fd70a 100644
--- a/lib/modules/LtiToolModule.php
+++ b/lib/modules/LtiToolModule.php
@@ -1,6 +1,6 @@
<?php
/**
- * LtiToolModule.class.php - LTI consumer API for Stud.IP
+ * LtiToolModule.php - LTI consumer API for Stud.IP
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/object.inc.php b/lib/object.inc.php
index c23efa4..a8bd5d7 100644
--- a/lib/object.inc.php
+++ b/lib/object.inc.php
@@ -51,7 +51,7 @@ function object_set_visit_module($plugin_id)
* This function saves the actual time as last visitdate for the given object, user and type
*
* @param string the id of the object (i.e. seminar_id, news_id, vote_id)
-* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.class.php for definitions)
+* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.php for definitions)
* @param string the user who visited the object - if not given, the actual user is used
*
*/
@@ -81,7 +81,7 @@ function object_set_visit($object_id, $plugin_id, $user_id = '')
* This function gets the (last) visit time for an object or module. If no information is found, the last visit of the open-object can bes used
*
* @param string the id of the object (i.e. seminar_id, news_id, vote_id)
-* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.class.php for definitions OR sem/inst, if the visit for the whole seminar was saved)
+* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.php for definitions OR sem/inst, if the visit for the whole seminar was saved)
* @param string the return-mode: 'last' for the last visit, other for actual-visit
* @param string the user who visited the object - if not given, the actual user is used
* @param string the id of an open-object (seminar or inst), to gather information for last visit from the visit of the whole open-object
diff --git a/lib/phplib/Seminar_Auth.php b/lib/phplib/Seminar_Auth.php
index 2c1c60c..950be8a 100644
--- a/lib/phplib/Seminar_Auth.php
+++ b/lib/phplib/Seminar_Auth.php
@@ -1,7 +1,7 @@
<?php
/**
- * Seminar_Auth.class.php
+ * Seminar_Auth.php
*
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/phplib/Seminar_Default_Auth.php b/lib/phplib/Seminar_Default_Auth.php
index 6d0e46c..146c588 100644
--- a/lib/phplib/Seminar_Default_Auth.php
+++ b/lib/phplib/Seminar_Default_Auth.php
@@ -1,7 +1,7 @@
<?php
/**
- * Seminar_Default_Auth.class.php
+ * Seminar_Default_Auth.php
*
*
* This program is free software; you can redistribute it and/or
@@ -16,4 +16,4 @@
class Seminar_Default_Auth extends Seminar_Auth
{
protected $nobody = true;
-} \ No newline at end of file
+}
diff --git a/lib/phplib/Seminar_Perm.php b/lib/phplib/Seminar_Perm.php
index a116938..1c3a85e 100644
--- a/lib/phplib/Seminar_Perm.php
+++ b/lib/phplib/Seminar_Perm.php
@@ -1,7 +1,7 @@
<?php
/**
- * Seminar_Perm.class.php
+ * Seminar_Perm.php
*
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/phplib/Seminar_Register_Auth.php b/lib/phplib/Seminar_Register_Auth.php
index f2a272e..5bf10f1 100644
--- a/lib/phplib/Seminar_Register_Auth.php
+++ b/lib/phplib/Seminar_Register_Auth.php
@@ -1,7 +1,7 @@
<?php
/**
- * Seminar_Register_Auth.class.php
+ * Seminar_Register_Auth.php
*
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/phplib/Seminar_User.php b/lib/phplib/Seminar_User.php
index c82d73a..4dd59bc 100644
--- a/lib/phplib/Seminar_User.php
+++ b/lib/phplib/Seminar_User.php
@@ -1,6 +1,6 @@
<?php
/**
- * Seminar_User.class.php
+ * Seminar_User.php
* global object representing current user
*
* This program is free software; you can redistribute it and/or
diff --git a/lib/plugins/core/AdministrationPlugin.php b/lib/plugins/core/AdministrationPlugin.php
index c9aa8da..6856e6a 100644
--- a/lib/plugins/core/AdministrationPlugin.php
+++ b/lib/plugins/core/AdministrationPlugin.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * AdministrationPlugin.class.php - administration plugin interface
+ * AdministrationPlugin.php - administration plugin interface
*
* NOTE: This interface is deprecated, use SystemPlugin instead.
*
diff --git a/lib/plugins/core/CorePlugin.php b/lib/plugins/core/CorePlugin.php
index d059f4c..056efaf 100644
--- a/lib/plugins/core/CorePlugin.php
+++ b/lib/plugins/core/CorePlugin.php
@@ -1,6 +1,6 @@
<?php
/**
- * CorePlugin.class.php - base class
+ * CorePlugin.php - base class
*
* @author André Noack <noack@data-quest.de>
* @copyright 2021 Authors
diff --git a/lib/plugins/core/DetailspagePlugin.php b/lib/plugins/core/DetailspagePlugin.php
index 36e6efa..3cc3b57 100644
--- a/lib/plugins/core/DetailspagePlugin.php
+++ b/lib/plugins/core/DetailspagePlugin.php
@@ -1,6 +1,6 @@
<?php
/*
- * DetailspagePlugin.class.php
+ * DetailspagePlugin.php
*
* Copyright (c) 2019 - Rasmus Fuhse <fuhse@data-quest.de>
*
diff --git a/lib/plugins/core/ForumModule.php b/lib/plugins/core/ForumModule.php
index 33784db..e72ffc2 100644
--- a/lib/plugins/core/ForumModule.php
+++ b/lib/plugins/core/ForumModule.php
@@ -1,6 +1,6 @@
<?php
/**
- * ForumModule.class.php - Interface for all intersections between the Stud.IP
+ * ForumModule.php - Interface for all intersections between the Stud.IP
* Core and something that behaves like a forum
*
* Implement all interface methods and you can integrate your plugin like
@@ -137,4 +137,4 @@ interface ForumModule extends StandardPlugin
* @return string a single-page HTML-view of all contents in one string
*/
function getDump($seminar_id);
-} \ No newline at end of file
+}
diff --git a/lib/plugins/core/HomepagePlugin.php b/lib/plugins/core/HomepagePlugin.php
index 37efb54..b0dbd65 100644
--- a/lib/plugins/core/HomepagePlugin.php
+++ b/lib/plugins/core/HomepagePlugin.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * HomepagePlugin.class.php - home page plugin interface
+ * HomepagePlugin.php - home page plugin interface
*
* Copyright (c) 2008 - Marcus Lunzenauer <mlunzena@uos.de>
* Copyright (c) 2009 - Elmar Ludwig
diff --git a/lib/plugins/core/LibraryPlugin.php b/lib/plugins/core/LibraryPlugin.php
index a7fb873..3c1a751 100644
--- a/lib/plugins/core/LibraryPlugin.php
+++ b/lib/plugins/core/LibraryPlugin.php
@@ -2,7 +2,7 @@
/*
- * LibraryPlugin.class.php - A plugin class for library plugins.
+ * LibraryPlugin.php - A plugin class for library plugins.
*
* Copyright (c) 2020 Moritz Strohm
*
diff --git a/lib/plugins/core/PortalPlugin.php b/lib/plugins/core/PortalPlugin.php
index cb5aca4..826e410 100644
--- a/lib/plugins/core/PortalPlugin.php
+++ b/lib/plugins/core/PortalPlugin.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * PortalPlugin.class.php - start / portal page plugin interface
+ * PortalPlugin.php - start / portal page plugin interface
*
* Copyright (c) 2008 - Marcus Lunzenauer <mlunzena@uos.de>
* Copyright (c) 2009 - Elmar Ludwig
diff --git a/lib/plugins/core/Role.php b/lib/plugins/core/Role.php
index 3ca8a11..91e00e8 100644
--- a/lib/plugins/core/Role.php
+++ b/lib/plugins/core/Role.php
@@ -1,6 +1,6 @@
<?php
/**
- * Role.class.php
+ * Role.php
*
* @author Dennis Reil <dennis.reil@offis.de>
* @author Michael Riehemann <michael.riehemann@uni-oldenburg.de>
diff --git a/lib/plugins/core/StandardPlugin.php b/lib/plugins/core/StandardPlugin.php
index 960ffd0..5180891 100644
--- a/lib/plugins/core/StandardPlugin.php
+++ b/lib/plugins/core/StandardPlugin.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * StandardPlugin.class.php - course or institute plugin interface
+ * StandardPlugin.php - course or institute plugin interface
*
* Copyright (c) 2008 - Marcus Lunzenauer <mlunzena@uos.de>
* Copyright (c) 2009 - Elmar Ludwig
diff --git a/lib/plugins/core/StudIPPlugin.php b/lib/plugins/core/StudIPPlugin.php
index fe74259..6642dbd 100644
--- a/lib/plugins/core/StudIPPlugin.php
+++ b/lib/plugins/core/StudIPPlugin.php
@@ -1,6 +1,6 @@
<?php
/**
- * StudIPPlugin.class.php - generic plugin base class
+ * StudIPPlugin.php - generic plugin base class
*
* @author Elmar Ludwig <ludwig@uos.de>
* @copyright 2009 Authors
diff --git a/lib/plugins/core/SystemPlugin.php b/lib/plugins/core/SystemPlugin.php
index c204567..0ffd16f 100644
--- a/lib/plugins/core/SystemPlugin.php
+++ b/lib/plugins/core/SystemPlugin.php
@@ -1,7 +1,7 @@
<?php
# Lifter010: TODO
/*
- * SystemPlugin.class.php - generic system plugin interface
+ * SystemPlugin.php - generic system plugin interface
*
* Copyright (c) 2008 - Marcus Lunzenauer <mlunzena@uos.de>
* Copyright (c) 2009 - Elmar Ludwig
diff --git a/lib/plugins/db/RolePersistence.php b/lib/plugins/db/RolePersistence.php
index df63a77..54a0053 100644
--- a/lib/plugins/db/RolePersistence.php
+++ b/lib/plugins/db/RolePersistence.php
@@ -1,6 +1,6 @@
<?php
/**
- * RolePersistence.class.php
+ * RolePersistence.php
*
* Funktionen für das Rollenmanagement
*
diff --git a/lib/plugins/engine/PluginManager.php b/lib/plugins/engine/PluginManager.php
index 7e36fa0..ec434a9 100644
--- a/lib/plugins/engine/PluginManager.php
+++ b/lib/plugins/engine/PluginManager.php
@@ -1,6 +1,6 @@
<?php
/**
- * PluginManager.class.php - plugin manager for Stud.IP
+ * PluginManager.php - plugin manager for Stud.IP
*
* @copyright 2009 Elmar Ludwig
* @license GPL2 or any later version
@@ -351,10 +351,10 @@ class PluginManager
$path = 'lib/modules';
}
- $pluginfile = $basepath.'/'.$path.'/'.$class.'.class.php';
+ $pluginfile = $basepath.'/'.$path.'/'.$class.'.php';
if (!file_exists($pluginfile)) {
- $pluginfile = $basepath.'/'.$path.'/'.$class.'.php';
+ $pluginfile = $basepath.'/'.$path.'/'.$class.'.class.php';
if (!file_exists($pluginfile)) {
return null;
diff --git a/lib/plugins/engine/PluginRepository.php b/lib/plugins/engine/PluginRepository.php
index 235e9bd..4bd24c6 100644
--- a/lib/plugins/engine/PluginRepository.php
+++ b/lib/plugins/engine/PluginRepository.php
@@ -1,7 +1,7 @@
<?php
/*
- * PluginRepository.class.php - query plugin meta data
+ * PluginRepository.php - query plugin meta data
*
* Copyright (c) 2008 Elmar Ludwig
*
diff --git a/lib/raumzeit/CycleData.php b/lib/raumzeit/CycleData.php
index 587e0bc..d89d8ae 100644
--- a/lib/raumzeit/CycleData.php
+++ b/lib/raumzeit/CycleData.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CycleData.class.php
+// CycleData.php
//
// Repräsentiert ein Turnusdatum eines MetaDates
//
diff --git a/lib/raumzeit/CycleDataDB.php b/lib/raumzeit/CycleDataDB.php
index eb586b4..715df0b 100644
--- a/lib/raumzeit/CycleDataDB.php
+++ b/lib/raumzeit/CycleDataDB.php
@@ -5,9 +5,9 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// CycleDataDB.class.php
+// CycleDataDB.php
//
-// Datenbank-Abfragen für CycleData.class.php
+// Datenbank-Abfragen für CycleData.php
//
// +--------------------------------------------------------------------------+
// This program is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
/**
- * CycleDataDB.class.php
+ * CycleDataDB.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/raumzeit/Issue.php b/lib/raumzeit/Issue.php
index 939aaee..eeb38b3 100644
--- a/lib/raumzeit/Issue.php
+++ b/lib/raumzeit/Issue.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// Issue.class.php
+// Issue.php
//
// Repräsentiert ein einzelnes Thema einer Veranstaltung
//
@@ -26,7 +26,7 @@
/**
- * Issue.class.php
+ * Issue.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
@@ -156,7 +156,7 @@ class Issue {
function restore() {
/*
* To avoid inconsistency, the restore function has been removed.
- * The only way to load an Issue is via the Seminar.class.php, with the function fillValuesFromArray
+ * The only way to load an Issue is via the Seminar.php, with the function fillValuesFromArray
*/
$this->fillValuesFromArray(IssueDB::restoreIssue($this->issue_id));
}
diff --git a/lib/raumzeit/IssueDB.php b/lib/raumzeit/IssueDB.php
index d6c0ba3..17d8b95 100644
--- a/lib/raumzeit/IssueDB.php
+++ b/lib/raumzeit/IssueDB.php
@@ -5,9 +5,9 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// IssueDB.class.php
+// IssueDB.php
//
-// Datenbank-Abfragen für Issue.class.php
+// Datenbank-Abfragen für Issue.php
//
// +--------------------------------------------------------------------------+
// This program is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
/**
- * IssueDB.class.php
+ * IssueDB.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/raumzeit/MetaDate.php b/lib/raumzeit/MetaDate.php
index 0af632d..1348222 100644
--- a/lib/raumzeit/MetaDate.php
+++ b/lib/raumzeit/MetaDate.php
@@ -5,7 +5,7 @@
# Lifter010: TODO
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// MetaDate.class.php
+// MetaDate.php
//
// Repräsentiert die Zeit- und Turnusdaten einer Veranstaltung
//
@@ -26,7 +26,7 @@
/**
- * MetaDate.class.php
+ * MetaDate.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/raumzeit/MetaDateDB.php b/lib/raumzeit/MetaDateDB.php
index 5f5e1df..29af00e 100644
--- a/lib/raumzeit/MetaDateDB.php
+++ b/lib/raumzeit/MetaDateDB.php
@@ -6,9 +6,9 @@
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// MetaDateDB.class.php
+// MetaDateDB.php
//
-// Datenbank-Abfragen für MetaDate.class.php
+// Datenbank-Abfragen für MetaDate.php
//
// +--------------------------------------------------------------------------+
// This program is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@
/**
- * MetaDateDB.class.php
+ * MetaDateDB.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/raumzeit/SeminarDB.php b/lib/raumzeit/SeminarDB.php
index 63241fe..600510b 100644
--- a/lib/raumzeit/SeminarDB.php
+++ b/lib/raumzeit/SeminarDB.php
@@ -5,9 +5,9 @@
# Lifter010: DONE
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// SeminarDB.class.php
+// SeminarDB.php
//
-// Datenbank-Abfragen für Seminar.class.php
+// Datenbank-Abfragen für Seminar
//
// +--------------------------------------------------------------------------+
// This program is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
/**
- * SeminarDB.class.php
+ * SeminarDB.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/raumzeit/SingleDate.php b/lib/raumzeit/SingleDate.php
index 2e8f41e..06cb9a2 100644
--- a/lib/raumzeit/SingleDate.php
+++ b/lib/raumzeit/SingleDate.php
@@ -4,7 +4,7 @@
# Lifter003: TODO
# Lifter010: TODO
/**
- * SingelDate.class.php - Ein (Ex-)Termin
+ * SingelDate.php - Ein (Ex-)Termin
*
* Diese Klasse stellt einen einzelnen Eintrag in der Tabelle termine, bzw. ex_termine dar.
*
diff --git a/lib/raumzeit/SingleDateDB.php b/lib/raumzeit/SingleDateDB.php
index e50d6cf..04144a6 100644
--- a/lib/raumzeit/SingleDateDB.php
+++ b/lib/raumzeit/SingleDateDB.php
@@ -4,9 +4,9 @@
# Lifter010: DONE
// +--------------------------------------------------------------------------+
// This file is part of Stud.IP
-// SingleDateDB.class.php
+// SingleDateDB.php
//
-// Datenbank-Abfragen für SingleDate.class.php
+// Datenbank-Abfragen für SingleDate.php
//
// +--------------------------------------------------------------------------+
// This program is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
/**
- * SingleDateDB.class.php
+ * SingleDateDB.php
*
*
* @author Till Glöggler <tgloeggl@uos.de>
diff --git a/lib/resources/ResourceManager.php b/lib/resources/ResourceManager.php
index a30c470..b6115e7 100644
--- a/lib/resources/ResourceManager.php
+++ b/lib/resources/ResourceManager.php
@@ -1,7 +1,7 @@
<?php
/**
- * ResourceManager.class.php
+ * ResourceManager.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/resources/RoomManager.php b/lib/resources/RoomManager.php
index f4b4802..0122a48 100644
--- a/lib/resources/RoomManager.php
+++ b/lib/resources/RoomManager.php
@@ -1,7 +1,7 @@
<?php
/**
- * RoomManager.class.php
+ * RoomManager.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
diff --git a/lib/visual.inc.php b/lib/visual.inc.php
index 66f8e65..7b7ef10 100644
--- a/lib/visual.inc.php
+++ b/lib/visual.inc.php
@@ -695,8 +695,8 @@ function display_exception($exception, $as_html = false, $deep = false) {
* @return String Icon path for the mime type
*/
//DEPRECATED: replaced by FileManager::getIconNameForMimeType
-//TODO: test: lib/extern/modules/ExternModuleDownload.class.php
-//TODO: test: lib/extern/modules/ExternModuleTemplateDownload.class.php
+//TODO: test: lib/extern/modules/ExternModuleDownload.php
+//TODO: test: lib/extern/modules/ExternModuleTemplateDownload.php
/*
function get_icon_for_mimetype($mime_type)
{
diff --git a/phpstan.neon.dist b/phpstan.neon.dist
index 531053a..0aec8e8 100644
--- a/phpstan.neon.dist
+++ b/phpstan.neon.dist
@@ -17,7 +17,7 @@ parameters:
excludePaths:
- lib/classes/ZipArchiveLegacyTrait.php
- lib/elearning/studip_referrer.php
- - lib/soap/StudipSoapClient_PHP5.class.php
+ - lib/soap/StudipSoapClient_PHP5.php
tmpDir: .caches
earlyTerminatingMethodCalls:
RESTAPI\RouteMap:
diff --git a/public/admin_elearning_interface.php b/public/admin_elearning_interface.php
index f53f69c..24eb47c 100644
--- a/public/admin_elearning_interface.php
+++ b/public/admin_elearning_interface.php
@@ -60,7 +60,7 @@ if (Config::get()->ELEARNING_INTERFACE_ENABLE)
}
if (!count(array_column($connection_status, 'error')))
{
- require_once ("lib/elearning/" . $ELEARNING_INTERFACE_MODULES[$cms_select]["CLASS_PREFIX"] . "ConnectedCMS.class.php");
+ require_once ("lib/elearning/" . $ELEARNING_INTERFACE_MODULES[$cms_select]["CLASS_PREFIX"] . "ConnectedCMS.php");
$classname = $ELEARNING_INTERFACE_MODULES[$cms_select]["CLASS_PREFIX"] . "ConnectedCMS";
$connected_cms[$cms_select] = new $classname($cms_select);
$connected_cms[$cms_select]->initSubclasses();
diff --git a/resources/assets/javascripts/lib/wysiwyg.js b/resources/assets/javascripts/lib/wysiwyg.js
index f9acb81..47c64d0 100644
--- a/resources/assets/javascripts/lib/wysiwyg.js
+++ b/resources/assets/javascripts/lib/wysiwyg.js
@@ -13,17 +13,17 @@ const wysiwyg = {
isHtml: function isHtml(text) {
// NOTE keep this function in sync with
- // Markup::isHtml in Markup.class.php
+ // Markup::isHtml in Markup.php
return this.hasHtmlMarker(text);
},
hasHtmlMarker: function hasHtmlMarker(text) {
// NOTE keep this function in sync with
- // Markup::hasHtmlMarker in Markup.class.php
+ // Markup::hasHtmlMarker in Markup.php
return this.htmlMarkerRegExp.test(text);
},
markAsHtml: function markAsHtml(text) {
// NOTE keep this function in sync with
- // Markup::markAsHtml in Markup.class.php
+ // Markup::markAsHtml in Markup.php
if (this.hasHtmlMarker(text) || text.trim() == '') {
return text; // marker already set, don't set twice
}