Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7e4a26d6
Commit
7e4a26d6
authored
Jan 27, 2014
by
Leigh B Stoller
Browse files
Add another Valid() function.
parent
9e6ad51e
Changes
1
Show whitespace changes
Inline
Side-by-side
www/dbcheck.php3
View file @
7e4a26d6
<?php
<?php
#
#
# Copyright (c) 2000-201
2
University of Utah and the Flux Group.
# Copyright (c) 2000-201
4
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment