This file is indexed.

/usr/share/horde/whups/lib/Block/Myqueries.php is in php-horde-whups 3.0.0~beta1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
 * Show the current user's queries.
 */
class Whups_Block_Myqueries extends Horde_Core_Block
{
    /**
     */
    public function __construct($app, $params = array())
    {
        parent::__construct($app, $params);

        $this->_name = _("Saved Queries");
    }

    /**
     */
    protected function _content()
    {
        $qManager = new Whups_Query_Manager();
        $queries = $qManager->listQueries($GLOBALS['registry']->getAuth(), true);
        $myqueries = new Whups_View_SavedQueries(
            array('results' => $queries));
        Horde::startBuffer();
        $myqueries->html(false);
        $html = Horde::endBuffer();
        if ($html) {
            return $html;
        }

        return '<p class="horde-content"><em>' . _("No queries have been saved.") . '</em></p>';
    }

}