Обертка для file_get_contents

This commit is contained in:
CORP\phedor 2018-02-14 11:03:43 +03:00
parent bfd53ecc09
commit 0d92ebad86
5 changed files with 17 additions and 6 deletions

View file

@ -141,7 +141,7 @@ class Database_Manager
$this->db->query($q);
}
function getConstraintDef($c) {
function getConstraintDef(/*.array.*/$c) {
if ($c['type'] == 'unique') {
return "UNIQUE(" . implode(", ", $c['fields']) . ")";
}