Found a version compare that looks left over from Drupal 6 that checks for PHP < 5.0 to deal with cloning.

CommentFileSizeAuthor
#2 remove_version_compare-2768893-2.patch939 bytesjoelpittet

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new939 bytes

Fixed the clone as it's a statement not a function and the PHP 7 syntax change around variable properties.

ficklecat’s picture

Tested cloning of several core and custom views - seems fine. Tested on PHP 5.6 and 7.1

ficklecat’s picture

Status: Needs review » Reviewed & tested by the community
damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed
Parent issue: » #2855120: Plan for Views 7.x-3.16 release

Committed, and I changed the info file too as it's redundant given Drupal 7 requires PHP 5.2 anyway. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.