Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan-Hendrik Willms
Stud.IP
Commits
1403583c
Commit
1403583c
authored
1 year ago
by
Thomas Hackl
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "SQL-Fehler beim Löschen von Veranstaltungen"
Closes #2963 Merge request
studip/studip!2015
parent
fa0f8936
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/classes/Seminar.class.php
+1
-6
1 addition, 6 deletions
lib/classes/Seminar.class.php
lib/models/StudipStudyArea.class.php
+0
-1
0 additions, 1 deletion
lib/models/StudipStudyArea.class.php
with
1 addition
and
7 deletions
lib/classes/Seminar.class.php
+
1
−
6
View file @
1403583c
...
...
@@ -1551,12 +1551,7 @@ class Seminar
$this
->
createMessage
(
sprintf
(
_
(
'%s Funktionen/Gruppen gelöscht.'
),
$count
));
}
// Alle Eintraege aus dem Vorlesungsverzeichnis rauswerfen
$sem_tree
=
TreeAbstract
::
GetInstance
(
'StudipSemTree'
);
$db_ar
=
$sem_tree
->
DeleteSemEntries
(
null
,
$s_id
);
if
(
$db_ar
>
0
)
{
$this
->
createMessage
(
sprintf
(
_
(
"%s Zuordnungen zu Bereichen archiviert."
),
$db_ar
));
}
// seminar_sem_tree entries are deleted automatically on deletion of the Course object.
// Alle Termine mit allem was dranhaengt zu diesem Seminar loeschen.
if
((
$db_ar
=
SingleDateDB
::
deleteAllDates
(
$s_id
))
>
0
)
{
...
...
This diff is collapsed.
Click to expand it.
lib/models/StudipStudyArea.class.php
+
0
−
1
View file @
1403583c
...
...
@@ -21,7 +21,6 @@
* @property string priority database column
* @property string info database column
* @property string name database column
* @property string studip_object_id database column
* @property string type database column
* @property SimpleORMapCollection _children has_many StudipStudyArea
* @property Institute institute belongs_to Institute
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment