diff --git a/lib/SimpleSAML/Database.php b/lib/SimpleSAML/Database.php
index f2dc63e3433fc54d6d9fd81de859c7948881886d..1823e80bd818f34344a578b146085308ba4095ad 100644
--- a/lib/SimpleSAML/Database.php
+++ b/lib/SimpleSAML/Database.php
@@ -95,7 +95,7 @@ class Database
             $driverOptions
         );
 
-        // TODO: deprecated racism: the "database.slave" terminology is preserved here for backwards compatibility.
+        // TODO: deprecated: the "database.slave" terminology is preserved here for backwards compatibility.
         if ($config->getArray('database.slaves', null) !== null) {
             Logger::warning(
                 'The "database.slaves" config option is deprecated. ' .
@@ -136,7 +136,7 @@ class Database
                 'database.prefix'     => $config->getString('database.prefix', ''),
                 'database.persistent' => $config->getBoolean('database.persistent', false),
             ],
-            // TODO: deprecated racism: the "database.slave" terminology is preserved here for backwards compatibility.
+            // TODO: deprecated: the "database.slave" terminology is preserved here for backwards compatibility.
             'secondaries' => $config->getArray('database.secondaries', $config->getArray('database.slaves', [])),
         ];