Commit 7e4a26d6 authored by Leigh B Stoller's avatar Leigh B Stoller

Add another Valid() function.

parent 9e6ad51e
<?php <?php
# #
# Copyright (c) 2000-2012 University of Utah and the Flux Group. # Copyright (c) 2000-2014 University of Utah and the Flux Group.
# #
# {{{EMULAB-LICENSE # {{{EMULAB-LICENSE
# #
...@@ -345,6 +345,10 @@ function TBvalid_fulltext($token) { ...@@ -345,6 +345,10 @@ function TBvalid_fulltext($token) {
return TBcheck_dbslot($token, "default", "fulltext", return TBcheck_dbslot($token, "default", "fulltext",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR); TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR);
} }
function TBvalid_html_fulltext($token) {
return TBcheck_dbslot($token, "default", "html_fulltext",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR);
}
function TBvalid_archive_tag($token) { function TBvalid_archive_tag($token) {
return TBcheck_dbslot($token, "archive_tags", "tag", return TBcheck_dbslot($token, "archive_tags", "tag",
TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR); TBDB_CHECKDBSLOT_WARN|TBDB_CHECKDBSLOT_ERROR);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment