* they acquire comments, likes, dislikes, and/or tags
*/
- $r = Photo::select([], ["`album` = ? AND `uid` = ? AND `created` > UTC_TIMESTAMP() - INTERVAL 3 HOUR", $album, $page_owner_uid]);
+ $r = Photo::select([], ['`album` = ? AND `uid` = ? AND `created` > UTC_TIMESTAMP() - INTERVAL 3 HOUR', $album, $page_owner_uid]);
if (!DBA::isResult($r) || ($album == L10n::t('Profile Photos'))) {
$visible = 1;
}
/**
- * @brief Get a photo for user id
+ * @brief Get photos for user id
*
* @param integer $uid User id
* @param string $resourceid Rescource ID of the photo
*/
public static function newResource()
{
- return system::createGUID(32, false);
+ return System::createGUID(32, false);
}
}