summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 124ad22)
raw | patch | inline | side by side (parent: 124ad22)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 09:39:11 +0000 (09:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 10 Jun 2005 09:39:11 +0000 (09:39 +0000) |
include/class_certificate.inc | patch | blob | history |
index c5698ae514aab1c42f76fc7b826da51fd40ff936..f7e784d5f6c5484640b9aa5f7f663a91c83b252e 100755 (executable)
}
}
- function isvalid($returnstr = false)
+ function isvalid()
{
- if(($this->type != false)&&(count($this->info)>1))
- {
- if($returnstr){
- return(_("valid"));
- }else{
- return(true);
- }
- }else{
- if($returnstr){
- return(_("invalid"));
- }else{
- return(false);
- }
-
- }
+ return (($this->type != false)&&(count($this->info)>1));
}
-
/* Export Certificate to specified file, with specified method*/