Skip to content
Snippets Groups Projects
  • Demian Katz's avatar
    Updated comments/links. · eadd1e89
    Demian Katz authored
    - Adjusted wiki links to point to latest URLs.
    - Removed VuFind2 category name (use generic VuFind instead).
    eadd1e89
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
expire_searches.php 1.29 KiB
<?php
/**
 * Command-line tool to clear unwanted entries from search history database table.
 *
 * PHP version 5
 *
 * Copyright (C) Villanova University 2010.
 *
 * 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 VuFind
 * @package  Utilities
 * @author   Demian Katz <demian.katz@villanova.edu>
 * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @link     https://vufind.org/jira/browse/VUFIND-235 JIRA Ticket
 */

// Load the Zend framework -- this will automatically trigger the appropriate
// controller action based on directory and file names
define('CLI_DIR', __DIR__);     // save directory name of current script
require_once __DIR__ . '/../public/index.php';