Commit 50efce17 authored by Stephane Crozat's avatar Stephane Crozat

Manual settings : admin=>2020, functions=>H

parent ad146c12
......@@ -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)
......@@ -13,11 +13,11 @@ class Admin {
}
public function activeSemester() {
return 'E';
return 'H';
}
public function activeYear() {
return 2019;
return 2020;
}
}
......@@ -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;
......@@ -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 .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment