Changed voiding of Direct Invoice to automatically void 'auto' delivery and set SO...
[fa-stable.git] / admin / db / printers_db.inc
index b873ee2e3e389589c253b1f89c11e78b937a4918..43e13b4c9bbd1c016e241e35d9dc46f346538634 100644 (file)
@@ -106,12 +106,4 @@ function get_print_profile($name)
        return db_query($sql,"could not get printing profile");
 }
 
-function printer_has_profile($id)
-{
-       $sql= "SELECT COUNT(*) FROM ".TB_PREF."print_profiles WHERE printer = ".db_escape($id);
-       $result = db_query($sql,"check printers relations failed");
-       $myrow = db_fetch_row($result);
-       return ($myrow[0] > 0); 
-}
-
 ?>
\ No newline at end of file