aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/1.51_unhide_dozents.php
blob: c25e7b3ca6c18f61e037039b045d78af814de4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?
class UnhideDozents extends Migration
{
    function description ()
    {
        return 'unhide users with status "dozent" in seminars (BIEST #711)';
    }

    function up ()
    {
        $db = DBManager::get();
        $db->exec("UPDATE seminar_user SET visible = 'yes' WHERE status = 'dozent'");
    }

    function down ()
    {
    
    }
}
?>