Replaced some " with '
This commit is contained in:
parent
555c444b4e
commit
580f9cf6c7
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class Photo extends BaseObject
|
||||||
$fields = self::getFields();
|
$fields = self::getFields();
|
||||||
}
|
}
|
||||||
|
|
||||||
return DBA::selectToArray("photo", $fields, $conditions, $params);
|
return DBA::selectToArray('photo', $fields, $conditions, $params);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -349,7 +349,7 @@ class Photo extends BaseObject
|
||||||
public static function delete(array $conditions, array $options = [])
|
public static function delete(array $conditions, array $options = [])
|
||||||
{
|
{
|
||||||
// get photo to delete data info
|
// get photo to delete data info
|
||||||
$photos = self::selectToArray(["backend-class","backend-ref"], $conditions);
|
$photos = self::selectToArray(['backend-class', 'backend-ref'], $conditions);
|
||||||
|
|
||||||
foreach($photos as $photo) {
|
foreach($photos as $photo) {
|
||||||
/** @var IStorage $backend_class */
|
/** @var IStorage $backend_class */
|
||||||
|
|
Loading…
Reference in a new issue