Warning: session_start(): open(/var/lib/php/sessions/sess_ned55ch08i5v4h5v4l75dj6vjf, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static new ThreadLocal ai_postTriple_verified;
static S ai_postTriple(T3 triple) {
// check, clean
ping();
if (triple_anyPartNull(triple)) null;
triple = trimTriple(triple);
if (!ai_tripleAllowedToPost(triple)) null; // fail("No");
// existing?
if (has(triple)) null;
// invalid?
if (has(ai_tripleToInvalid(triple))) null;
// post handler?
AI_PostHandler handler = ai_postHandler();
if (handler != null)
ret handler.postTriple(triple);
else {
// post web the normal way
Web web = webFromTriple(triple);
Bool ver = ai_postTriple_verified!;
if (ver != null)
web.unverified = !ver;
postSoftwareMadeWeb(web);
ret web.globalID;
}
}
static S ai_postTriple(S a, S b, S c) {
ret ai_postTriple(t3(a, b, c));
}