#!/usr/bin/env php
<?php
/**
 * Script to prune the autoloader cache.
 *
 * Copyright 2011-2014 Horde LLC (http://www.horde.org/)
 *
 * See the enclosed file COPYING for license information (LGPL). If you
 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
 *
 * @author    Jan Schneider <jan@horde.org>
 * @category  Horde
 * @copyright 2011-2014 Horde LLC
 * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
 * @package   Autoloader_Cache
 */

require_once 'Horde/Autoloader/Cache.php';

if ($__autoloader->prune()) {
    echo "Cache pruned successfully.\n";
} else {
    echo "No cache found or pruning failed.\n";
}
