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

Remove search term logging functionality #51

Merged
merged 1 commit into from May 25, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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.