Skip to content
Snippets Groups Projects
Commit 89140a76 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Added a repeated warning suppression for absent adaptor or dbID

parent 4750cea0
No related branches found
No related tags found
No related merge requests found
......@@ -175,8 +175,11 @@ sub is_stored {
}
if($adaptor && !$dbID) {
warning("Storable object has an adaptor but not a dbID.\n".
"Storable objects must have neither OR both.");
if($message_only_once){
warning("Storable object has an adaptor but not a dbID.\n".
"Storable objects must have neither OR both.");
$message_only_once = 0;
}
return 0;
}
......
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