Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3500446
D9522.id32207.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9522.id32207.diff
View Options
diff --git a/native/data/sqlite-data-handler.js b/native/data/sqlite-data-handler.js
--- a/native/data/sqlite-data-handler.js
+++ b/native/data/sqlite-data-handler.js
@@ -85,23 +85,15 @@
const callClearSensitiveData = React.useCallback(
async (triggeredBy: string) => {
- if (staffCanSee || staffUserHasBeenLoggedIn) {
- Alert.alert('Starting SQLite database deletion process');
- }
await commCoreModule.clearSensitiveData();
try {
await filesystemMediaCache.clearCache();
} catch {
throw new Error('clear_media_cache_failed');
}
- if (staffCanSee || staffUserHasBeenLoggedIn) {
- Alert.alert(
- 'SQLite database successfully deleted',
- `SQLite database deletion was triggered by ${triggeredBy}`,
- );
- }
+ console.log(`SQLite database deletion was triggered by ${triggeredBy}`);
},
- [staffCanSee, staffUserHasBeenLoggedIn],
+ [],
);
const handleSensitiveData = React.useCallback(async () => {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 1:40 AM (7 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2684364
Default Alt Text
D9522.id32207.diff (1 KB)
Attached To
Mode
D9522: [native] Remove extraneous SQLite deletion alerts
Attached
Detach File
Event Timeline
Log In to Comment