From 4d5020a63f29bd9d43c6259676787f16b2487bdf Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 2 Sep 2015 14:28:57 -0400
Subject: [PATCH] Removed unused files.

---
 .../VuFind/View/Helper/Bootprint/Factory.php  | 58 -----------------
 .../View/Helper/Bootprint/LayoutClass.php     | 62 -------------------
 2 files changed, 120 deletions(-)
 delete mode 100644 module/VuFind/src/VuFind/View/Helper/Bootprint/Factory.php
 delete mode 100644 module/VuFind/src/VuFind/View/Helper/Bootprint/LayoutClass.php

diff --git a/module/VuFind/src/VuFind/View/Helper/Bootprint/Factory.php b/module/VuFind/src/VuFind/View/Helper/Bootprint/Factory.php
deleted file mode 100644
index 6a84eeb1ced..00000000000
--- a/module/VuFind/src/VuFind/View/Helper/Bootprint/Factory.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-/**
- * Factory for Bootprint view helpers.
- *
- * PHP version 5
- *
- * Copyright (C) Villanova University 2014.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- * @category VuFind2
- * @package  View_Helpers
- * @author   Demian Katz <demian.katz@villanova.edu>
- * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
- * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
- */
-namespace VuFind\View\Helper\Bootprint;
-use Zend\ServiceManager\ServiceManager;
-
-/**
- * Factory for Bootprint view helpers.
- *
- * @category VuFind2
- * @package  View_Helpers
- * @author   Demian Katz <demian.katz@villanova.edu>
- * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
- * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
- *
- * @codeCoverageIgnore
- */
-class Factory
-{
-    /**
-     * Construct the LayoutClass helper.
-     *
-     * @param ServiceManager $sm Service manager.
-     *
-     * @return LayoutClass
-     */
-    public static function getLayoutClass(ServiceManager $sm)
-    {
-        $config = $sm->getServiceLocator()->get('VuFind\Config')->get('config');
-        $left = !isset($config->Site->sidebarOnLeft)
-            ? false : $config->Site->sidebarOnLeft;
-        return new LayoutClass($left);
-    }
-}
\ No newline at end of file
diff --git a/module/VuFind/src/VuFind/View/Helper/Bootprint/LayoutClass.php b/module/VuFind/src/VuFind/View/Helper/Bootprint/LayoutClass.php
deleted file mode 100644
index 87d93f2db7d..00000000000
--- a/module/VuFind/src/VuFind/View/Helper/Bootprint/LayoutClass.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-/**
- * Helper class for managing bootprint theme's high-level (body vs. sidebar) page
- * layout.
- *
- * PHP version 5
- *
- * Copyright (C) Villanova University 2011.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- * @category VuFind2
- * @package  View_Helpers
- * @author   Demian Katz <demian.katz@villanova.edu>
- * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
- * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
- */
-namespace VuFind\View\Helper\Bootprint;
-
-/**
- * Helper class for managing bootprint theme's high-level (body vs. sidebar) page
- * layout.
- *
- * @category VuFind2
- * @package  View_Helpers
- * @author   Demian Katz <demian.katz@villanova.edu>
- * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
- * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
- */
-class LayoutClass extends \VuFind\View\Helper\AbstractLayoutClass
-{
-    /**
-     * Helper to allow easily configurable page layout -- given a broad class
-     * name, return appropriate CSS classes to lay out the page according to
-     * the current configuration file settings.
-     *
-     * @param string $class Type of class to return ('mainbody' or 'sidebar')
-     *
-     * @return string       CSS classes to apply
-     */
-    public function __invoke($class)
-    {
-        switch ($class) {
-        case 'mainbody':
-            return $this->left ? 'span9 pull-right' : 'span9 switch-margins';
-        case 'sidebar':
-            return $this->left
-                ? 'span3 switch-margins noprint sidebar' : 'span3 noprint sidebar';
-        }
-    }
-}
-- 
GitLab