mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
30 lines
1.0 KiB
PHP
30 lines
1.0 KiB
PHP
<?php
|
|
$dont_sync_php=array('11','91','92','94','145','182','203','204','222','227','228','254','255','256','257','258','297','298','299','300','301','302','308','327','328','329','330','331','333','334','335','336','332','476','999');
|
|
//'303'
|
|
|
|
function dont_sync_sql($dont_sync_php)
|
|
{
|
|
$no_sync_sql='';
|
|
foreach ($dont_sync_php AS $stgkz)
|
|
$no_sync_sql.=' AND studiengang_kz!='.$stgkz;
|
|
$no_sync_sql=substr($no_sync_sql,5);
|
|
return $no_sync_sql;
|
|
}
|
|
$dont_sync_sql=dont_sync_sql($dont_sync_php);
|
|
|
|
function dont_sync_sql_fas($dont_sync_php)
|
|
{
|
|
$no_sync_sql='';
|
|
foreach ($dont_sync_php AS $stgkz)
|
|
$no_sync_sql.=' AND studiengang.kennzahl!='.$stgkz;
|
|
return $no_sync_sql;
|
|
}
|
|
$dont_sync_sql_fas=dont_sync_sql_fas($dont_sync_php);
|
|
|
|
$adress='fas_sync@technikum-wien.at';
|
|
//$adress='pam@technikum-wien.at';
|
|
//$adress='ruhan@technikum-wien.at';
|
|
$adress_stpl='lvplan@technikum-wien.at';
|
|
//$adress_stpl='pam@technikum-wien.at';
|
|
$adress_fas='fas_sync@technikum-wien.at';
|
|
?>
|