Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ if ($domains_processed == 1) { //update the notifications table if (is_array($_SESSION['switch']['scripts'])) { $sql = "select count(*) as num_rows from v_notifications "; $database = new database; $num_rows = $database->select($sql, null, 'column'); if ($row['num_rows'] == 0) { $sql = "insert into v_notifications "; $sql .= "("; $sql .= "notification_uuid, "; $sql .= "project_notifications "; $sql .= ")"; $sql .= "values "; $sql .= "("; $sql .= "'".uuid()."', "; $sql .= "'false' "; $sql .= ")"; $database = new database; $database->execute($sql, null); unset($sql); } unset($prep_statement, $row); } } ?>