]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser.cpp
Implemented XDG-compliant config file reading.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser.cpp
index 329aaf2f518e198c44563b92f76d1e24d396e831..a7c79c00d5df90f09685a7a7f535882eff233db9 100644 (file)
@@ -942,8 +942,6 @@ else
                 }
             j+=2;
             }
                 }
             j+=2;
             }
-        usr->down = dtd;
-        usr->up = dtu;
         return 0;
         }
 
         return 0;
         }
 
@@ -1209,15 +1207,6 @@ if (downCount)
     if (!u->GetProperty().down.Set(down, currAdmin, login, store))
         res = -1;
 
     if (!u->GetProperty().down.Set(down, currAdmin, login, store))
         res = -1;
 
-/*if (!usr->down.empty())
-    {
-    u->GetProperty().down.Set(usr->down.const_data(), currAdmin, login, store);
-    }
-if (!usr->up.empty())
-    {
-    u->GetProperty().up.Set(usr->up.const_data(), currAdmin, login, store);
-    }*/
-
 u->WriteConf();
 u->WriteStat();
 
 u->WriteConf();
 u->WriteStat();