|
|
@ -456,7 +456,8 @@ public class dir {
|
|
|
|
public static void deletePhrase(plasmaSwitchboard switchboard, String urlstring, String phrase, String descr) {
|
|
|
|
public static void deletePhrase(plasmaSwitchboard switchboard, String urlstring, String phrase, String descr) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
String urlhash = plasmaURL.urlHash(new URL(urlstring));
|
|
|
|
String urlhash = plasmaURL.urlHash(new URL(urlstring));
|
|
|
|
Set words = plasmaCondenser.getWords(("yacyshare " + phrase + " " + descr).getBytes());
|
|
|
|
//Set words = plasmaCondenser.getWords(("yacyshare " + phrase + " " + descr).getBytes());
|
|
|
|
|
|
|
|
Set words = plasmaCondenser.getWords();
|
|
|
|
switchboard.removeReferences(urlhash, words);
|
|
|
|
switchboard.removeReferences(urlhash, words);
|
|
|
|
switchboard.loadedURL.remove(urlhash);
|
|
|
|
switchboard.loadedURL.remove(urlhash);
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|