Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
apisub
Commits
50efce17
Commit
50efce17
authored
Nov 08, 2019
by
Stephane Crozat
Browse files
Manual settings : admin=>2020, functions=>H
parent
ad146c12
Changes
4
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
50efce17
...
...
@@ -9,3 +9,10 @@ git@gitlab.utc.fr:crozatst/apisub.git
### `TABLE config`
Set
`closed`
to
`TRUE`
to disable subscription (and unsubscription).
Update openbegin et openend
### lib/admin.php
change active semester et active Year
### sql/apisub_functions.sql
change function semester (workaround)
lib/admin.php
View file @
50efce17
...
...
@@ -13,11 +13,11 @@ class Admin {
}
public
function
activeSemester
()
{
return
'
E
'
;
return
'
H
'
;
}
public
function
activeYear
()
{
return
20
19
;
return
20
20
;
}
}
sql/apisub_functions.sql
View file @
50efce17
...
...
@@ -78,6 +78,6 @@ $$ LANGUAGE PLPGSQL;
/** TODO **/
CREATE
OR
REPLACE
FUNCTION
semester
(
DATE
)
RETURNS
CHAR
(
1
)
AS
$$
BEGIN
RETURN
'
E
'
;
RETURN
'
H
'
;
END
;
$$
LANGUAGE
PLPGSQL
;
tmp/export/README.md
View file @
50efce17
...
...
@@ -31,3 +31,4 @@ rsync -va cathtml/* wapint@stargate.utc.fr:/volgen/user1x/users/wapint/public_ht
su postgres
pg_dump apisub -f /home/stc/apidump/apisub20181123.sql
scp stc@pic.crzt.fr /home/stc/apidump/apisub20181123.sql .
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment