Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AvailabilitySchedule
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
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
Uni Osnabrück
Plugins
AvailabilitySchedule
Commits
ccf4fa42
Commit
ccf4fa42
authored
11 years ago
by
Till Glöggler
Browse files
Options
Downloads
Patches
Plain Diff
check isActivated before loading plugin
parent
74dfb6c0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AvailSchedule.class.php
+4
-0
4 additions, 0 deletions
AvailSchedule.class.php
plugin.manifest
+1
-1
1 addition, 1 deletion
plugin.manifest
with
5 additions
and
1 deletion
AvailSchedule.class.php
+
4
−
0
View file @
ccf4fa42
...
...
@@ -27,6 +27,10 @@ class AvailSchedule extends StudipPlugin implements SystemPlugin
{
parent
::
__construct
();
if
(
!
$this
->
isActivated
())
{
return
;
}
$seminar_id
=
Request
::
option
(
'cid'
,
$GLOBALS
[
'SeminarSession'
]);
$sem
=
Seminar
::
getInstance
(
$seminar_id
);
...
...
This diff is collapsed.
Click to expand it.
plugin.manifest
+
1
−
1
View file @
ccf4fa42
pluginclassname=AvailSchedule
pluginname=AvailabilitySchedule
origin=elan-ev
version=0.1.
1
version=0.1.
2
studipMinVersion=2.4
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