From bfa4c12166af1987d383d2b07b0b31795e14677a Mon Sep 17 00:00:00 2001 From: phpnut Date: Thu, 4 Oct 2007 04:32:43 +0000 Subject: [PATCH] Closes #2094, removed unreachable return git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5713 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/paginator.php | 1 - cake/libs/view/helpers/xml.php | 1 - 2 files changed, 2 deletions(-) diff --git a/cake/libs/view/helpers/paginator.php b/cake/libs/view/helpers/paginator.php index a48a4bb70..ca82be603 100644 --- a/cake/libs/view/helpers/paginator.php +++ b/cake/libs/view/helpers/paginator.php @@ -178,7 +178,6 @@ class PaginatorHelper extends AppHelper { } else { return 'asc'; } - return null; } /** * Generates a "previous" link for a set of paged records diff --git a/cake/libs/view/helpers/xml.php b/cake/libs/view/helpers/xml.php index 6a366871b..7eef239ce 100644 --- a/cake/libs/view/helpers/xml.php +++ b/cake/libs/view/helpers/xml.php @@ -236,7 +236,6 @@ class XmlHelper extends AppHelper { } else { return $content; } - return false; } /** * Serializes a model resultset into XML