mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 03:18:48 +00:00
Use short form array syntax everywhere
This commit is contained in:
parent
4ee41c64a3
commit
27b60e003f
68 changed files with 869 additions and 869 deletions
|
@ -233,7 +233,7 @@ function wppost_send(&$a,&$b) {
|
|||
|
||||
// Is it a link to an aricle, a video or a photo?
|
||||
if (isset($siteinfo["type"])) {
|
||||
if (in_array($siteinfo["type"], array("link", "audio", "video", "photo"))) {
|
||||
if (in_array($siteinfo["type"], ["link", "audio", "video", "photo"])) {
|
||||
$postentry = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue