Libraryless. Click here for Pure Java version (3835L/25K).
1 | sS tb_addCoOwnerToSnippet(S snippetID, S coOwnerName) {
|
2 | long userID = tb_userIDForName(coOwnerName); |
3 | if (userID == 0) fail("TinyBrain user not found: " + coOwnerName);
|
4 | ret tb_addCoOwnerToSnippet(snippetID, userID); |
5 | } |
6 | |
7 | sS tb_addCoOwnerToSnippet(S snippetID, long coOwnerID) {
|
8 | ret loadPage(tb_mainServer() + "/tb-int/add-coowner.php?snippet=" + psI(snippetID) + "&coowner=" + coOwnerID + standardCredentials()); |
9 | } |
Began life as a copy of #1029577
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029578 |
| Snippet name: | tb_addCoOwnerToSnippet |
| Eternal ID of this version: | #1029578/4 |
| Text MD5: | 6f2143acb576c86645fba6c6d942217f |
| Transpilation MD5: | 936d8b95a5b76ff84c17479459b5103d |
| Author: | stefan |
| Category: | javax / auth |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-24 15:26:37 |
| Source code size: | 427 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 410 / 547 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |