From 0714279ba9ce35a98857772d872512b1a350bb1d Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 7 Apr 2017 06:00:11 -0400 Subject: [PATCH] Update phpdoc for $pages->sort() per processwire/processwire-issues#225 --- wire/core/Pages.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wire/core/Pages.php b/wire/core/Pages.php index 96af5202..f8c12af6 100644 --- a/wire/core/Pages.php +++ b/wire/core/Pages.php @@ -862,10 +862,6 @@ class Pages extends Wire { * // set $page to have sort=5, moving any 5+ sort pages ahead * $pages->sort($page, 5); * - * // same as above using alternate syntax - * $page->sort = 5; - * $pages->sort($page); - * * // re-build sort values for children of $page, removing duplicates and gaps * $pages->sort($page, true); * ~~~~~