Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #51 from nooku/feature/50-search
Browse files Browse the repository at this point in the history
Remove search term logging functionality
  • Loading branch information
johanjanssens committed May 25, 2015
2 parents 19f9f80 + 3b75482 commit 3857368
Show file tree
Hide file tree
Showing 35 changed files with 2 additions and 881 deletions.
8 changes: 0 additions & 8 deletions administrator/components/com_search/access.xml

This file was deleted.

68 changes: 0 additions & 68 deletions administrator/components/com_search/config.xml

This file was deleted.

45 changes: 0 additions & 45 deletions administrator/components/com_search/controller.php

This file was deleted.

1 change: 0 additions & 1 deletion administrator/components/com_search/controllers/index.html

This file was deleted.

40 changes: 0 additions & 40 deletions administrator/components/com_search/controllers/searches.php

This file was deleted.

1 change: 0 additions & 1 deletion administrator/components/com_search/helpers/index.html

This file was deleted.

34 changes: 2 additions & 32 deletions administrator/components/com_search/helpers/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,6 @@
*/
class SearchHelper
{
/**
* Configure the Linkbar.
*
* @param string The name of the active view.
* @since 1.6
*/
public static function addSubmenu($vName)
{
// Not required.
}

/**
* Gets a list of the actions that can be performed.
*
* @return JObject
*
* @deprecated 3.2 Use JHelperContent::getActions() instead
*/
public static function getActions()
{
// Log usage of deprecated function
JLog::add(__METHOD__ . '() is deprecated, use JHelperContent::getActions() with new arguments order instead.', JLog::WARNING, 'deprecated');

// Get list of actions
$result = JHelperContent::getActions('com_search');

return $result;
}

public static function santiseSearchWord(&$searchword, $searchphrase)
{
$ignored = false;
Expand Down Expand Up @@ -129,13 +100,12 @@ public static function limitSearchWord(&$searchword)
* @return void
*
* @since 1.5
* @deprecated 4.0 Use JSearchHelper::logSearch() instead
* @deprecated
*/
public static function logSearch($search_term)
{
JLog::add(__METHOD__ . '() is deprecated, use JSearchHelper::logSearch() instead.', JLog::WARNING, 'deprecated');
JLog::add(__METHOD__ . '() is deprecated', JLog::WARNING, 'deprecated');

JSearchHelper::logSearch($search_term, 'com_search');
}

/**
Expand Down
41 changes: 0 additions & 41 deletions administrator/components/com_search/helpers/site.php

This file was deleted.

1 change: 0 additions & 1 deletion administrator/components/com_search/index.html

This file was deleted.

1 change: 0 additions & 1 deletion administrator/components/com_search/models/index.html

This file was deleted.

Loading

0 comments on commit 3857368

Please sign in to comment.